You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2015/05/08 13:14:00 UTC
[jira] [Created] (SLING-4702) Support setting sling.java.version to
8
Robert Munteanu created SLING-4702:
--------------------------------------
Summary: Support setting sling.java.version to 8
Key: SLING-4702
URL: https://issues.apache.org/jira/browse/SLING-4702
Project: Sling
Issue Type: Improvement
Components: General
Affects Versions: Parent 22
Reporter: Robert Munteanu
Fix For: Parent 23
We should support setting sling.java.version to 8, to allow modules to take advantage of the new Java 8 features ( the default setting of 5 should be discussed separately ).
For now the only issue I see is that the animal-sniffer-maven-plugin does not supply a signature for checking Java 8 ( see [MANIMALSNIFFER-44|http://jira.codehaus.org/browse/MANIMALSNIFFER-44] ).
We could
# wait for a set of signatures to be deployed
# generate and deploy signatures ourselves
# skip the signature check for Java 8, on the assumption that it's the most recent version anyway and [Java 9 will be released on 22 Sep 2016|http://mail.openjdk.java.net/pipermail/jdk9-dev/2015-May/002172.html]
Since 2 and 3 would complicate the parent pom even more and we don't have a pressing need to update to Java 8 yet I am going to go with option 1.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)