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 <gbad...@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@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/hibernate-dev _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev