For my open-source project I use SonarCloud as a Sonar analysis runner. When I switched JDK to version 14, I started getting these errors:
Caused by: java.lang.IllegalArgumentException: Unsupported class file major version 58
My project produces bytecode for Java 1.8 (class files version 52.0), so my assumption is that Sonar has some errors in processing JDK classes.
Some builds where Sonar analysis failed:
At the meantime, JDK 11 works fine: https://travis-ci.com/github/remal/tracing-spec/builds/175882910
Sources can be found here: https://github.com/remal/tracing-spec
Latest commit with failed analysis: https://github.com/remal/tracing-spec/tree/9f53dd680e7d50dccb73fbfb67b57729d8e38bc6