Upgrade Java build target to JDK 25 - #18
Closed
trly wants to merge 1 commit into
Closed
Conversation
Bump declared Java compile target / toolchain to JDK 25.
trly
force-pushed
the
upgrade-jdk-25-115739d7-a84f-4f24-b253-960869cf306d
branch
from
August 31, 2026 18:29
bf8e176 to
114b012
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Upgrades this project's declared Java build target to JDK 25.
For Maven projects this bumps the
maven.compiler.source/maven.compiler.target/maven.compiler.release/java.versionproperties (and anymaven-compiler-pluginsource/target/releaseconfiguration) that were previously below 25.For Gradle projects that had no Java version declared at all, this adds a Java toolchain pinning the project to JDK 25.
Only build configuration is changed — no source code changes are included.
Heads-up for reviewers: CI on this branch is currently red for a pre-existing reason unrelated to this change. The build fails while resolving
org.sourcegraph:java-lib:1.1.0from GitHub Packages with401 Unauthorized, because the repository'sACCESS_TOKEN/USER_NAMEActions secrets are missing or expired. That must be fixed separately before CI can pass here. This changeset additionally bumps the build workflow'sjava-versionfrom 8 to 25 so the CI JDK matches the new compile target.Created by Sourcegraph agentic batch change.