Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to migrate JDK-21 #5019

Closed
bodhili opened this issue Feb 12, 2025 · 1 comment
Closed

how to migrate JDK-21 #5019

bodhili opened this issue Feb 12, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@bodhili
Copy link

bodhili commented Feb 12, 2025

What problem are you trying to solve?

  • how to migrate to JDK-21, but I cannot found the docs about migrate to JDK-21, there is only have migrate to JDK-21 docs

Describe the solution you'd like

  • It can use to migrate to JDK-21

Have you considered any alternatives or workarounds?

  • no

Additional context

  • only JAVA projects

Are you interested in contributing this feature to OpenRewrite?

  • y
@bodhili bodhili added the enhancement New feature or request label Feb 12, 2025
@timtebeek
Copy link
Contributor

Hi! There's a guide to upgrading to Java 17 here:
https://docs.openrewrite.org/running-recipes/popular-recipe-guides/migrate-to-java-17

The steps to upgrade to Java 21 are exactly the same, only replacing 17 with 21 in the recipes you'll run:
https://docs.openrewrite.org/recipes/java/migrate/upgradetojava21

I hope that helps you there! I'll close this issue as there's no code changes needed on our end.

@timtebeek timtebeek pinned this issue Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants