Skip to content

build: Build with Java 25 toolchain#2448

Draft
maxandersen wants to merge 1 commit intomainfrom
build-java25
Draft

build: Build with Java 25 toolchain#2448
maxandersen wants to merge 1 commit intomainfrom
build-java25

Conversation

@maxandersen
Copy link
Copy Markdown
Collaborator

@maxandersen maxandersen commented Apr 19, 2026

This is with intent of having faster builds an potentially use markdown in javadoc :)

Summary

Update the build toolchain from Java 11 to Java 25 while keeping the same bytecode targets (--release 8 for main code, --release 9 for multi-release, --release 11 for tests).

Changes

  • build.gradle — Toolchain languageVersion 11 → 25
  • .github/actions/shared-build-setup/action.yml — Default java-version 11 → 25 (avoids Gradle auto-provisioning overhead)
  • .github/workflows/step-ci-build.yml — Unit test job now uses matrix.java-version (currently [11]) with -PtestJavaVersion, matching the integration test pattern

Notes

  • --release 8 still works on JDK 25 but emits a deprecation warning ("source value 8 is obsolete and will be removed in a future release")
  • Test execution versions are unchanged: unit tests run on JDK 11, integration tests on 8/11/17/21/25
  • The unit test matrix can easily be expanded to more Java versions in the future

@maxandersen maxandersen changed the title Build with Java 25 toolchain build: Build with Java 25 toolchain Apr 19, 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.

1 participant