Skip to content

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

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

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

cicirello commented Jun 17, 2026

Copy link
Copy Markdown
Owner

@vasiliy-mikhailov Thank you for your interest in contributing. The corresponding Issue is currently blocked by another of my repositories that depends upon this one. I also just realized that I should specify in my contributing.md that only maintainers can change GitHub Actions workflow files as well as configuration related files like pom.xml. I just updated my contribution policy to clarify this. Thanks again for your interest.

@cicirello cicirello closed this Jun 17, 2026
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

2 participants