Bump Gradle daemon JDK to 25#11570
Conversation
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
Kotlin 2.0.21 fails to parse JDK 25 version strings (IllegalArgumentException in JavaVersion.parse). Kotlin 2.1.20 resolves this. JDK 25 javadoc rejects the old Oracle Java 8 docs URL which now redirects; replace with the stable canonical URL. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
JDK 25 javadoc treats HTTP redirects as hard errors; Oracle's Java 8 API URL now redirects. Running javadoc with the JDK 8 tool is semantically correct (source=8) and avoids the redirect restriction. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f4d61fdbe6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
/merge |
|
View all feedbacks in Devflow UI.
The expected merge time in
|
PerfectSlayer
left a comment
There was a problem hiding this comment.
👏 praise: Nice to have the impact using your jardiff too!
What Does This Do
Bumps the Gradle daemon JDK from 21 to 25 via
./gradlew updateDaemonJvm --jvm-version=25.It's possible because Gradle 9.0 is the first version to support Java 25 for the Daemon JVM.
Related
Motivation
Keep the build daemon on the latest JDK release.
Additional Notes
2.0.21to2.1.20, Kotlin 2.1.x is the first to support running on Java 25javadoctreats HTTP redirects as hard errors, and it happens that the Oracle Java 8 API link appears to be broken; running with JDK 8's own tool avoids this.jardiff checks
jardiff -c classdata --include '**/*.class,**/*.classdata' \ dd-trace-java/dd-java-agent/build/libs/dd-java-agent-1.64.0-SNAPSHOT.jar \ ../bump-daemon-jdk-25/dd-java-agent/build/libs/dd-java-agent-1.64.0-SNAPSHOT.jarObject->String,Map->HashMap,TagValue-> concrete tag enum/class.access$.../lambda$...bridge renumbering inAdviceAppliesOnScanner,DefaultDataStreamsMonitoring,CoreTracer, andJvmOtlpRuntimeMetrics.