Migrate service build/runtime configuration to Java 25#113
Draft
patrick-vuong with Copilot wants to merge 2 commits into
Draft
Migrate service build/runtime configuration to Java 25#113patrick-vuong with Copilot wants to merge 2 commits into
patrick-vuong with Copilot wants to merge 2 commits into
Conversation
Open
Co-authored-by: patrick-vuong <107423518+patrick-vuong@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate project to Java 25
Migrate service build/runtime configuration to Java 25
Jun 9, 2026
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.
This updates the project from Java 11 to Java 25 so the service, toolchain, and CI all target the same runtime level. It also applies targeted Java language modernizations introduced by the migration recipe.
Java 25 build target and toolchain
pom.xmlnow targets Java 25 (maven.compiler.release/target).maven-compiler-plugin→3.15.0maven-surefire-plugin/maven-failsafe-plugin→3.5.6--add-opensflags for newer JDK encapsulation behavior.CI runtime alignment
.github/workflows/ci.ymlnow provisions JDK 25 viaactions/setup-java.Code-level Java modernization
instanceof, switch expression, unused catch variable_) without changing endpoint behavior.Based on Moderne Prethink context, this migration was applied via OpenRewrite recipe execution (
org.openrewrite.java.migrate.UpgradeToJava25) and repository-level updates.This change was produced with Moderne CLI and Moderne Agent Tools (MCP), informed by Moderne Prethink context (dependencies, test gaps, project identity).