Change minimum supported Java version to 21 (resolves #345)#510
Open
vasiliy-mikhailov wants to merge 1 commit into
Open
Change minimum supported Java version to 21 (resolves #345)#510vasiliy-mikhailov wants to merge 1 commit into
vasiliy-mikhailov wants to merge 1 commit into
Conversation
maven.compiler.release (and compiler plugin <release>) 17 -> 21; CI setup-java java-version 17 -> 21 across all workflows. mvn -B verify green on Temurin 21: 367 tests, 0 failures (= JDK-17 baseline). Resolves cicirello#345.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #345.
Raises the minimum supported Java version from 17 to 21:
pom.xml:maven.compiler.release(and the compiler plugin's<release>)17→21.java-version17→21across all setup-java steps (build, codeql-analysis, docs, both manual-deploy workflows, and both maven-publish jobs).Verification
Built on Temurin 21 with
mvn -B verify(a superset of CI'smvn -B package -Pcoverage): BUILD SUCCESS — 367 tests, 0 failures, 0 skipped, identical to the JDK 17 baseline. SpotBugs and JaCoCo both pass on 21.🤖 Migrated with the bump-java-version skill.