[hibernate-dev] Java 1.8-specific code in hibernate-infinispan

Gail Badner gbadner at redhat.com
Tue Mar 1 16:26:41 EST 2016


OK, thanks.

On Tue, Mar 1, 2016 at 1:18 PM, Steve Ebersole <steve at hibernate.org> wrote:

> Correct.  hibernate-infinispan can use Java 8.  As Sanne says, Infinispan
> itself requires Java 8 so limiting hibernate-infinispan to > 8 really makes
> no sense,
>
> On Tue, Mar 1, 2016 at 3:03 PM Sanne Grinovero <sanne at hibernate.org>
> wrote:
>
>> In general, probably yes. The Infinispan module is a bit special
>> though, as Infinispan itself requires Java8 since Infinispan 8 so
>> noone will be able to use those modules on previous Java versions.. so
>> there's no point in avoiding pre-Java 8 code in there.
>>
>> On 1 March 2016 at 20:55, Gail Badner <gbadner at redhat.com> wrote:
>> > I see a pull request on master for hibernate-infinispan that uses lambda
>> > expressions. [1]
>> >
>> > There is a separate pull request for 5.0 that does not use them, so
>> there's
>> > no need to backport in this case. [2]
>> >
>> > In general, should we avoid using lambda expressions in master?
>> >
>> > Thanks,
>> > Gail
>> >
>> > [1] https://github.com/hibernate/hibernate-orm/pull/1269/files
>> > [2] https://github.com/hibernate/hibernate-orm/pull/1268/files
>> > _______________________________________________
>> > hibernate-dev mailing list
>> > hibernate-dev at lists.jboss.org
>> > https://lists.jboss.org/mailman/listinfo/hibernate-dev
>> _______________________________________________
>> hibernate-dev mailing list
>> hibernate-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>>
>


More information about the hibernate-dev mailing list