Uploaded image for project: 'Product Roadmaps'
  1. Product Roadmaps
  2. MMF-1621

Support for Java 11 for the overall SonarQube ecosystem

    XMLWordPrintable

    Details

    • Type: MMF
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Labels:

      Description

      WHY

      Oracle Java 8 reached the end of public update for commercial use in January 2019.
      SonarQube should then support Java 11, the new LTS, which will be supported for 3 years starting Sept 2018.

      We don't want to be locked in with Java 8 for the next 2 years (until the next LTS)

      WHAT

      We want to support Java 11+ and only Java 11+

      On SonarQube

      SonarQube should fail at startup if it detects a JRE <11. This will allow us to switch the target of the compilation to Java 11 in the 8.X series without impacting the user. However, it should be compiled targeting Java 8 for the time being since the API is used by SonarLint.

      On Scanner

      scanner-engine should fail at startup if it detects a JRE <11. This will allows us to switch the target of the compilation to Java 11 in the 8.X series without impacting the user.

      On SonarLint

      IntelliJ IDEA and Eclipse still support Java 8+ and there's no public roadmap around an upgrade of the required minimal version to Java 11, therefore we should continue supporting Java 8.

      On analyzers

      Java based analyzers should be built with and run with Java 11, but still targeting Java 8 (to have compatibility with SonarLint).

      This will allow us to switch the target of the compilation to Java 11 (and use new language features) in a way that is smooth for end users. This can be done in during SQ 8 series, as soon as the IDEs start requiring Java 11.

      On community plugins

      Community plugins can switch to Java 11 at any time starting this LTS, since they don't run in SonarLint. They are not required to do it but they should ensure that they run with Java 11 without warnings.

      HOW

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xavier.bourguignon Xavier Bourguignon (Inactive)
              Reporter:
              christophe.levis Christophe Levis
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: