SLCORE-2226, SLCORE-2227 Migrate to Java 21#1917
SLCORE-2226, SLCORE-2227 Migrate to Java 21#1917damien-urruty-sonarsource wants to merge 2 commits intomasterfrom
Conversation
218cba5 to
6f6bb8f
Compare
6f6bb8f to
04404e1
Compare
|
SummaryMigrates SonarLint backend and CLI to Java 21 while preserving Java 11 compatibility for the client SDK. The change introduces separate parent POMs for backend and client modules, allowing backend to target Java 21 (taking advantage of newer dependencies that now require it) while keeping the client on Java 11 for OSGi/Eclipse compatibility. The Sloop CLI distribution bundle is updated to JDK 21, and CI/CD workflows are streamlined with a cleaner approach to orchestrator Java version handling. What reviewers should knowStart by reviewing the parent POM changes:
|
There was a problem hiding this comment.
Conclusion: Clean, well-executed migration. The parent-POM split into sonarlint-backend-parent (Java 21) and sonarlint-client-parent (Java 11) is the right structural move and the compiler overrides are consistently applied. JRE hashes for the same binaries (windows_x64, linux_x64) are identical between backend/cli/pom.xml and medium-tests/pom.xml, which is reassuring. The ORCHESTRATOR_JAVA_HOME approach in CI correctly keeps the build on Java 21 while giving Orchestrator a Java 17 home only for the SQLts99 matrix entry.
eray-felek-sonarsource
left a comment
There was a problem hiding this comment.
LGTM. Let's merge this after we make sure all the consumer IDEs are green





No description provided.