You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Michael Dürig <md...@apache.org> on 2015/10/05 12:08:32 UTC

Drop/keep support for Java6

Hi,

I was wondering whether we should/could/want to drop support for Java 6 
in Oak. If we keep supporting it, what would be a realistic time line?

Michael

Re: Drop/keep support for Java6

Posted by Michael Dürig <md...@apache.org>.
As our Jenkins [1] kept failing with a memory corruption on Java 6 [2] 
and I anticipate us to drop Java 6 support in one way or another soon 
anyway, I disabled the respective dimension.

Michael

[1] https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/
[2] 
https://builds.apache.org/job/Apache%20Jackrabbit%20Oak%20matrix/630/jdk=jdk-1.6u45,label=Ubuntu,nsfixtures=SEGMENT_MK,profile=integrationTesting/console

On 23.11.15 12:15 , Michael Dürig wrote:
>
>
>> I think we should drop support for running Oak 1.3.x on Java 6.
>> At least the Oracle JDK 6 version is not supported anymore
>> and does not receive any security updates.
>>
>> We could still restrict Oak to the Java 6 language level and runtime
>> library features to make sure we can backport fixes. E.g. Apache
>> Sling is using the animal sniffer tool to check compatibility with
>> earlier Java versions.
>
> +1
>
> Michael

Re: Drop/keep support for Java6

Posted by Tommaso Teofili <to...@gmail.com>.
+1

Tommaso

2015-11-23 12:15 GMT+01:00 Michael Dürig <md...@apache.org>:

>
>
> I think we should drop support for running Oak 1.3.x on Java 6.
>> At least the Oracle JDK 6 version is not supported anymore
>> and does not receive any security updates.
>>
>> We could still restrict Oak to the Java 6 language level and runtime
>> library features to make sure we can backport fixes. E.g. Apache
>> Sling is using the animal sniffer tool to check compatibility with
>> earlier Java versions.
>>
>
> +1
>
> Michael
>

Re: Drop/keep support for Java6

Posted by Michael Dürig <md...@apache.org>.

> I think we should drop support for running Oak 1.3.x on Java 6.
> At least the Oracle JDK 6 version is not supported anymore
> and does not receive any security updates.
>
> We could still restrict Oak to the Java 6 language level and runtime
> library features to make sure we can backport fixes. E.g. Apache
> Sling is using the animal sniffer tool to check compatibility with
> earlier Java versions.

+1

Michael

Re: Drop/keep support for Java6

Posted by Marcel Reutegger <mr...@adobe.com>.
Hi,

On 05/10/15 12:19, "Julian Reschke" wrote:
On 2015-10-05 12:08, Michael Dürig wrote:
I was wondering whether we should/could/want to drop support for Java 6
in Oak. If we keep supporting it, what would be a realistic time line?

I assume this is about "trunk", not 1.2 or 1.0, right?

As much as I'd love to drop it, given the amount of backporting we
currently do this doesn't seem like a good idea.

I think we should drop support for running Oak 1.3.x on Java 6.
At least the Oracle JDK 6 version is not supported anymore
and does not receive any security updates.

We could still restrict Oak to the Java 6 language level and runtime
library features to make sure we can backport fixes. E.g. Apache
Sling is using the animal sniffer tool to check compatibility with
earlier Java versions.

The builds on Jenkins also fail frequently with Java 6:
http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201510.mbox/%3C561B62A9.3020701@apache.org%3E

Regards
 Marcel

Re: Drop/keep support for Java6

Posted by Julian Reschke <ju...@gmx.de>.
On 2015-10-05 12:08, Michael Dürig wrote:
>
> Hi,
>
> I was wondering whether we should/could/want to drop support for Java 6
> in Oak. If we keep supporting it, what would be a realistic time line?

I assume this is about "trunk", not 1.2 or 1.0, right?

As much as I'd love to drop it, given the amount of backporting we 
currently do this doesn't seem like a good idea.

Best regards, Julian

Re: Drop/keep support for Java6

Posted by Davide Giannella <da...@apache.org>.
On 05/10/2015 11:08, Michael Dürig wrote:
>
> Hi,
>
> I was wondering whether we should/could/want to drop support for Java
> 6 in Oak. If we keep supporting it, what would be a realistic time line?
Personally I'd like to drop it. Nevertheless it will be problematic (as
Julian already pointed out) to backport anything as soon as you start
using any code construct/functionality that is not available in 6.
Speaking of 6 VS 7 I don't recall as big changes on these aspects as it
is 7 VS 8 but still it will be problematic.

I think if we start reasoning now on a strategy we can adopt (ie: no
backports in case), and we announce it properly for any client using
Oak, we can deprecate java 6 starting from Oak 1.6. Read it as after the
release of Oak 1.4 we start not supporting any more java 6.

Davide