sonar-findbugs
sonar-findbugs copied to clipboard
Support Java SDK 8 and 21 simultaneously
Issue Description
We have applications running on various versions of the Java SDK, including versions 8, 17, and 21.
We are experiencing a compatibility issue with the plugin sonar-findbugs-plugin.
Currently, the plugin works with either Java 8 or Java 21 (depending on the version), but not both simultaneously.
Environment
| Component | Version |
|---|---|
| SonarQube | 10.4 |
| Sonar-FindBugs | 4.2.0 (for Java 8) - 4.2.6 (for Java 21) |
| Java | 8, 17, 21 |
Java 21 did not exist when 4.2.0 was released, so it cannot analyse Java 21 bytecode and is incompatible indeed. But what exactly is the problem when using 4.2.6 with Java 8 bytecode?
Hello @FelipeJK Any idea what is the problem with Java 8 bytecode when using the latest version?
Sorry for the late reply. We are going to test this scenario. We'll let you know the behavior asap.
Please comment here or open a new issue if the problem persists but this is supposed to work