I found this project https://github.com/orfjackal/retrolambda that should be able to provide backwards compatibility for us. It even has a gradle plugin. The project has limited support for default methods and static methods on interfaces, but I don't think we have any of those.
Does the community think that we should invest in this? On Mon, Jan 25, 2016 at 11:46 AM, Swapnil Bawaskar <sbawas...@pivotal.io> wrote: > Sending to the dev list (to escape mail filters). > > > ---------- Forwarded message ---------- > From: Christian Tzolov (JIRA) <j...@apache.org> > Date: Sat, Jan 23, 2016 at 12:40 PM > Subject: [jira] [Commented] (GEODE-479) Bump Java Language level to 1.8 > To: iss...@geode.incubator.apache.org > > > > [ > https://issues.apache.org/jira/browse/GEODE-479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113956#comment-15113956 > ] > > Christian Tzolov commented on GEODE-479: > ---------------------------------------- > > Apparently my suggestion to use -source 1.8 and -target 1.7 is not > allowed. Such combination results in "target release 1.7 conflicts with > default source release 1.8". > Although the [javac doc| > http://docs.oracle.com/javase/8/docs/technotes/tools/unix/javac.html] is > not very clear about this, it seems that the target >= source is a hard > constrain. > > The second option (e.g. to have a parallel 1.7 compatible build) is not > possible either as the source code uses 1.8 lambdas. > > Any other ideas for backward (java 1.7) support? > > > Bump Java Language level to 1.8 > > ------------------------------- > > > > Key: GEODE-479 > > URL: https://issues.apache.org/jira/browse/GEODE-479 > > Project: Geode > > Issue Type: Improvement > > Reporter: William Markito Oliveira > > Assignee: William Markito Oliveira > > Fix For: 1.0.0-incubating.M1 > > > > Attachments: GEODE-479.patch > > > > > > Change sourceCompatibility and targetCompatibility to 1.8 enabling Java > 8 features in Geode codebase. > > > > -- > This message was sent by Atlassian JIRA > (v6.3.4#6332) > >