Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Java SDK 8 and 21 simultaneously #1024

Open
FelipeJK opened this issue Jun 14, 2024 · 3 comments
Open

Support Java SDK 8 and 21 simultaneously #1024

FelipeJK opened this issue Jun 14, 2024 · 3 comments

Comments

@FelipeJK
Copy link

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
@gtoison
Copy link
Contributor

gtoison commented Jun 14, 2024

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?

@gtoison
Copy link
Contributor

gtoison commented Jun 27, 2024

Hello @FelipeJK
Any idea what is the problem with Java 8 bytecode when using the latest version?

@FelipeJK
Copy link
Author

Sorry for the late reply. We are going to test this scenario.
We'll let you know the behavior asap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants