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 Francesco Mari <ma...@gmail.com> on 2016/04/06 14:27:52 UTC

Increase language level to Java 7

Hi all,

some months ago we decided to drop support for Java 1.6 [1]. What about
increasing the language level of the compiler so as to be able to use the
new features in Java 7?

[1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg

Re: Increase language level to Java 7

Posted by Julian Sedding <js...@gmail.com>.
+1

Regards
Julian

On Wed, Apr 6, 2016 at 2:27 PM, Francesco Mari <ma...@gmail.com> wrote:
> Hi all,
>
> some months ago we decided to drop support for Java 1.6 [1]. What about
> increasing the language level of the compiler so as to be able to use the
> new features in Java 7?
>
> [1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg

Re: Increase language level to Java 7

Posted by Tomek Rekawek <re...@adobe.com>.
+1

Best regards,
Tomek

-- 
Tomek Rękawek | Adobe Research | www.adobe.com
rekawek@adobe.com

> On 06 Apr 2016, at 14:27, Francesco Mari <ma...@gmail.com> wrote:
> 
> Hi all,
> 
> some months ago we decided to drop support for Java 1.6 [1]. What about
> increasing the language level of the compiler so as to be able to use the
> new features in Java 7?
> 
> [1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg


Re: Increase language level to Java 7

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

On 6.4.16 4:25 , Francesco Mari wrote:
> I was talking about trunk, of course. Developers working in areas where
> backports are the norm have to carefully consider if and when using Java 7
> language features would be appropriate. New portions of the codebase could
> use of the new features freely.

+1

Michael

>
> 2016-04-06 16:19 GMT+02:00 Julian Reschke <ju...@gmx.de>:
>
>> On 2016-04-06 14:27, Francesco Mari wrote:
>>
>>> Hi all,
>>>
>>> some months ago we decided to drop support for Java 1.6 [1]. What about
>>> increasing the language level of the compiler so as to be able to use the
>>> new features in Java 7?
>>>
>>> [1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg
>>>
>>
>> Well... for which branches?
>>
>> At least in the areas where we *do* regularly backport things to Oak 1.0,
>> using Java 7 language features would be a problem...
>>
>> Best regards, Julian
>>
>

Re: Increase language level to Java 7

Posted by Francesco Mari <ma...@gmail.com>.
I created OAK-4189 to track this. Unless someone has a strong reason
against this change, I will commit it this afternoon.

2016-04-08 9:18 GMT+02:00 Davide Giannella <da...@apache.org>:

> On 07/04/2016 17:12, Julian Sedding wrote:
> > We could enforce java6 signatures for the branches using the
> > animal-sniffer-maven-plugin. This should help detect bogus backports
> > quickly.
> >
> +1.
>
> Davide
>
>
>

Re: Increase language level to Java 7

Posted by Davide Giannella <da...@apache.org>.
On 07/04/2016 17:12, Julian Sedding wrote:
> We could enforce java6 signatures for the branches using the
> animal-sniffer-maven-plugin. This should help detect bogus backports
> quickly.
>
+1.

Davide



Re: Increase language level to Java 7

Posted by Julian Sedding <js...@gmail.com>.
We could enforce java6 signatures for the branches using the
animal-sniffer-maven-plugin. This should help detect bogus backports
quickly.

Regards
Julian

On Thu, Apr 7, 2016 at 10:57 AM, Francesco Mari
<ma...@gmail.com> wrote:
> Language features would be available for new, backport-free developments.
> Existing code doesn't have to use those features if they would be an issue
> during backports.
>
> 2016-04-07 10:25 GMT+02:00 Davide Giannella <da...@apache.org>:
>
>> On 06/04/2016 15:25, Francesco Mari wrote:
>> > I was talking about trunk, of course. Developers working in areas where
>> > backports are the norm have to carefully consider if and when using Java
>> 7
>> > language features would be appropriate. New portions of the codebase
>> could
>> > use of the new features freely.
>> >
>>
>> We were discussing this on chat. Generally I'd say +1 for trunk but we
>> risk to introduce problems for backports.
>>
>> Davide
>>
>>
>>

Re: Increase language level to Java 7

Posted by Francesco Mari <ma...@gmail.com>.
Language features would be available for new, backport-free developments.
Existing code doesn't have to use those features if they would be an issue
during backports.

2016-04-07 10:25 GMT+02:00 Davide Giannella <da...@apache.org>:

> On 06/04/2016 15:25, Francesco Mari wrote:
> > I was talking about trunk, of course. Developers working in areas where
> > backports are the norm have to carefully consider if and when using Java
> 7
> > language features would be appropriate. New portions of the codebase
> could
> > use of the new features freely.
> >
>
> We were discussing this on chat. Generally I'd say +1 for trunk but we
> risk to introduce problems for backports.
>
> Davide
>
>
>

Re: Increase language level to Java 7

Posted by Davide Giannella <da...@apache.org>.
On 06/04/2016 15:25, Francesco Mari wrote:
> I was talking about trunk, of course. Developers working in areas where
> backports are the norm have to carefully consider if and when using Java 7
> language features would be appropriate. New portions of the codebase could
> use of the new features freely.
>

We were discussing this on chat. Generally I'd say +1 for trunk but we
risk to introduce problems for backports.

Davide



Re: Increase language level to Java 7

Posted by Francesco Mari <ma...@gmail.com>.
I was talking about trunk, of course. Developers working in areas where
backports are the norm have to carefully consider if and when using Java 7
language features would be appropriate. New portions of the codebase could
use of the new features freely.

2016-04-06 16:19 GMT+02:00 Julian Reschke <ju...@gmx.de>:

> On 2016-04-06 14:27, Francesco Mari wrote:
>
>> Hi all,
>>
>> some months ago we decided to drop support for Java 1.6 [1]. What about
>> increasing the language level of the compiler so as to be able to use the
>> new features in Java 7?
>>
>> [1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg
>>
>
> Well... for which branches?
>
> At least in the areas where we *do* regularly backport things to Oak 1.0,
> using Java 7 language features would be a problem...
>
> Best regards, Julian
>

Re: Increase language level to Java 7

Posted by Julian Reschke <ju...@gmx.de>.
On 2016-04-06 14:27, Francesco Mari wrote:
> Hi all,
>
> some months ago we decided to drop support for Java 1.6 [1]. What about
> increasing the language level of the compiler so as to be able to use the
> new features in Java 7?
>
> [1]: http://jackrabbit.markmail.org/thread/t3gzwi25tcz6masg

Well... for which branches?

At least in the areas where we *do* regularly backport things to Oak 
1.0, using Java 7 language features would be a problem...

Best regards, Julian