Dark Mode

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Compile with JDK 25#1303

Merged
msridhar merged 1 commit intomasterfrom
compile-with-jdk-25
Sep 25, 2025
Merged

Compile with JDK 25#1303
msridhar merged 1 commit intomasterfrom
compile-with-jdk-25

Conversation

Copy link
Collaborator

msridhar commented Sep 24, 2025 *
edited by coderabbitai bot
Loading

Forgot to update this version number

Summary by CodeRabbit

  • Chores
    • Upgraded the application's Java language level across subprojects to the latest version. This modernizes the build environment and aligns with current platform standards.
    • No user-facing changes or behavior differences are expected.
    • Self-hosted users may need a compatible Java runtime to build or run the application.

Copy link
Contributor

coderabbitai bot commented Sep 24, 2025 *
edited
Loading

Walkthrough

Updated the Java language version target in Gradle configuration from 24 to 25 for all subprojects.

Changes

Cohort / File(s) Summary
Build configuration
build.gradle
Bumped Java compilation target from version 24 to 25 across subprojects. No other logic or task changes.

Estimated code review effort

2 (Simple) | ~10 minutes

Pre-merge checks and finishing touches

Passed checks (3 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit's high-level summary is enabled.
Title Check Passed The title succinctly describes the core change of updating the compilation target to JDK 25, directly reflecting the main change in the PR without unnecessary detail.
Docstring Coverage Passed No functions found in the changes. Docstring coverage check skipped.
Finishing touches
Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch compile-with-jdk-25

Tip

Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks - Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks - Define your own rules using CodeRabbit's advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit's agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Comment @coderabbitai help to get the list of available commands and usage tips.

msridhar enabled auto-merge (squash) September 24, 2025 20:50
msridhar requested review from lazaroclapp and yuxincs September 24, 2025 20:50
coderabbitai bot reviewed Sep 24, 2025
Copy link
Contributor

coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Nitpick comments (1)
build.gradle (1)

61-65: Optional: make the toolchain version configurable via gradle.properties.

Avoid hardcoding 25 so future bumps are a one-line change.

Apply this pattern:

  • In gradle.properties:
    java.toolchain.version=25

  • In build.gradle (replace the hardcoded value):

javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(findProperty("java.toolchain.version") as String)
}
Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

Commits

Reviewing files that changed from the base of the PR and between 062c27c and 020ab46.

Files selected for processing (1)
  • build.gradle (1 hunks)
Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: Build and test on windows-latest
  • GitHub Check: Build caffeine with snapshot
  • GitHub Check: Build and test on ubuntu-latest
  • GitHub Check: Build spring-framework with snapshot
  • GitHub Check: Build and test on macos-latest
Additional comments (1)
build.gradle (1)

61-65: Verify JDK 25 support across toolchain, Error Prone, and CI

  • Gradle wrapper is at 9.1.0--confirm it bundles toolchain support for Java 25
  • No org.gradle.java.installations.auto-download set--ensure CI or local builds can auto-download JDK 25
  • Error Prone Core 2.42.0 predates JDK 25--validate compatibility or bump to a newer version
  • Code imports com.sun.tools.javac.* extensively--run full test suite on JDK 25 to catch API breaks
  • No CI workflows found--add or update .github/workflows/* to use actions/setup-java with java-version: 25

Copy link

codecov bot commented Sep 24, 2025 *
edited
Loading

Codecov Report

All modified and coverable lines are covered by tests.
Project coverage is 88.49%. Comparing base (062c27c) to head (020ab46).
Report is 1 commits behind head on master.

Additional details and impacted files
@@ Coverage Diff @@
## master #1303 +/- ##
=========================================
Coverage 88.49% 88.49%
Complexity 2476 2476
=========================================
Files 93 93
Lines 8214 8214
Branches 1617 1617
=========================================
Hits 7269 7269
Misses 474 474
Partials 471 471

View full report in Codecov by Sentry.
Have feedback on the report? Share it here.

New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

yuxincs approved these changes Sep 25, 2025
msridhar merged commit 3668f80 into master Sep 25, 2025
10 of 11 checks passed
msridhar deleted the compile-with-jdk-25 branch September 25, 2025 01:38
coderabbitai bot mentioned this pull request Sep 26, 2025
coderabbitai bot mentioned this pull request Nov 8, 2025
coderabbitai bot mentioned this pull request Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

coderabbitai[bot] coderabbitai[bot] left review comments

yuxincs yuxincs approved these changes

lazaroclapp Awaiting requested review from lazaroclapp

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants