Hello SonarCloud community,
The scanner environment is going to require Java 11+ starting from October 2020. The Eclipse Project is moving to Java 11 in September 2020 and we are relying on ECJ (the Eclipse compiler) for our analyzers. Staying close to the latest ECJ is crucial for analysis stability and for support of all the latest language features, especially since many languages increased their pace of new releases. See MMF-2035 for more details.
All users of the Automatic Analysis feature are already set and don’t have to take any action. For all other setups there is going to be a warning in the SonarCloud UI and the PR summary (inside the ALM’s) if the environment does not meet the necessary version requirement.
- SonarCloud UI
- GitHub Pull Request Decoration
In addition, we updated all applicable sample projects to use Java 11 by default. Please take a look if you are unsure on how to upgrade:
The SonarCloud Team.