Skip to content

Upgrade test sources to Java 25#1591

Open
velo wants to merge 6 commits intomasterfrom
upgrade-test-sources-java25
Open

Upgrade test sources to Java 25#1591
velo wants to merge 6 commits intomasterfrom
upgrade-test-sources-java25

Conversation

@velo
Copy link
Member

@velo velo commented Feb 12, 2026

Summary

  • Upgrade test compilation target from Java 21 to Java 25
  • Apply OpenRewrite UpgradeToJava25 recipe to modernize test sources (instanceof pattern matching, @Serial annotation, unnamed variables, etc.)
  • Apply OpenRewrite UpgradeToJava17 recipe improvements to main sources (instanceof pattern matching)
  • Fix incorrect OpenRewrite migration of @Test(expected=...) to AssertJ in NullExpressionTest and EnumConversionTest
  • Add .sdkmanrc for consistent Java 25 toolchain selection

Test plan

  • ./mvnw -Pdev -Dtoolchain.skip=true verify passes with Java 25
  • CI pipeline passes

🤖 Generated with Claude Code

@velo velo force-pushed the upgrade-test-sources-java25 branch 2 times, most recently from edab67c to 9407f34 Compare February 12, 2026 11:51
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
@velo velo force-pushed the upgrade-test-sources-java25 branch from 9407f34 to 1a67bd9 Compare February 12, 2026 12:09
velo added 5 commits February 12, 2026 09:32
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Signed-off-by: Marvin Froeder <velo.br@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant