Skip to content

Change minimum supported Java version to 21 (resolves #345)#510

Open
vasiliy-mikhailov wants to merge 1 commit into
cicirello:masterfrom
vasiliy-mikhailov:min-java-21
Open

Change minimum supported Java version to 21 (resolves #345)#510
vasiliy-mikhailov wants to merge 1 commit into
cicirello:masterfrom
vasiliy-mikhailov:min-java-21

Conversation

@vasiliy-mikhailov

Copy link
Copy Markdown

Resolves #345.

Raises the minimum supported Java version from 17 to 21:

  • pom.xml: maven.compiler.release (and the compiler plugin's <release>) 1721.
  • CI: java-version 1721 across 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's mvn -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.

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.
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.

Change minimum supported Java version to 21

1 participant