Skip to content

Require Java 25 - #79

Merged
derTobsch merged 1 commit into
mainfrom
jdk-25
Nov 20, 2026
Merged

derTobsch merged 1 commit into
mainfrom
jdk-25

Conversation

@derTobsch

Copy link
Copy Markdown
Contributor
  • .tool-versions: Temurin 25.0.5.1 (temurin-25.0.5+100000002.0.LTS, includes the fix for CVE-2026-114938), used by the build and release workflows
  • pom.xml: <java.version>25</java.version> instead of maven.compiler.source/target 21
  • README: requires Java 25

The classes were compiled for Java 17 so far, not 21: the Spring Boot parent sets maven.compiler.release from java.version (default 17), and release wins over source/target. They are now class file version 69 (Java 25).

Breaking: applications on Java 17 or 21 can no longer use the library. The README maps major versions to Spring Boot versions (3.x = Spring Boot 4.x), so the version is left at 3.6.0-SNAPSHOT; the release notes should mention the new requirement.

Build with Temurin 25.0.5.1 and compile for Java 25. The library was
compiled for Java 17 so far: the Spring Boot parent sets
maven.compiler.release from java.version, which overrode the
maven.compiler.source/target of 21.
@derTobsch
derTobsch merged commit 5965ca1 into main Nov 20, 2026
1 check passed
@derTobsch
derTobsch deleted the jdk-25 branch November 20, 2026 07:52
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.

1 participant