Skip to content

SonarQube 26.1 compatibility#1402

Merged
hazendaz merged 7 commits intospotbugs:masterfrom
JuditKnoll:sq26
Mar 13, 2026
Merged

SonarQube 26.1 compatibility#1402
hazendaz merged 7 commits intospotbugs:masterfrom
JuditKnoll:sq26

Conversation

@JuditKnoll
Copy link
Contributor

This PR makes sure that SonarQube 26.1 is supported.

From SQ 26.1 release announcement:

The SonarQube Community Build runtime now requires Java Development Kit (JDK) 21 or a later version.

Using Java 21 required the following changes:

In the multi-module sample project for maven the src and target was set, but not for gradle, which resulted in a missing SIC_INNER_SHOULD_BE_STATIC hit, as inner classes are compiled a bit differently with different java versions.

@hazendaz hazendaz merged commit 93b6b7c into spotbugs:master Mar 13, 2026
7 checks passed
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

Successfully merging this pull request may close these issues.

3 participants