[ 
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)

Reply via email to