Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4702

Support setting sling.java.version to 8

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Parent 22
    • Parent 23
    • General
    • None

    Description

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

      We could

      1. wait for a set of signatures to be deployed
      2. generate and deploy signatures ourselves
      3. 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

      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.

      Attachments

        Activity

          People

            rombert Robert Munteanu
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: