Hello Java developers,
Everything is in the title. SonarCloud knows how to scan Java 20 projects.
In order to achieve that, we had to slightly change how we handle Java’s preview features.
If you are using Java 19+ preview features, the Java analyzer no longer enables them automatically.
You need to set the scanner parameter sonar.java.enablePreview=true
explicitly.
This is available now on SonarCloud and will be part of SonarQube 10.1
Alex