You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(build): bump JDK toolchain to 25 to fix native compile (COMP-1573)
The shadow-plugin migration for the log4j fix pulled in Gradle 9 and
native-build-tools 1.1.3, whose GraalVM reachability-metadata repository
requires a newer reachability-metadata schema than GraalVM for JDK 21
provides. CI `nativeCompile` failed on that schema mismatch.
Bump the build toolchain to JDK 25 across the repo so the GraalVM
reachability metadata schema is supported:
- setup-graalvm / setup-java java-version 21 -> 25 in build.yml and
security-submit-dependecy-graph.yml
- Gradle toolchain and native launcher languageVersion 21 -> 25
- Groovy test deps 4.0.24 -> 4.0.32 (4.0.24 cannot compile against JDK 25
class files: "Unsupported class file major version 69")
sourceCompatibility/targetCompatibility stay at 17, so the shipped fat
jar still runs on JRE 17+.
Also fix a pre-existing broken test-report artifact name that referenced
the undefined matrix.java_version (collided across all OS jobs); use
matrix.os to match the nativeCompile artifact naming.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments