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

Add recipe to upgrade to Java 17, which also upgrades from 8 to 11 first #128

Merged
merged 1 commit into from
Oct 13, 2022
Merged

Add recipe to upgrade to Java 17, which also upgrades from 8 to 11 first #128

merged 1 commit into from
Oct 13, 2022

Conversation

timtebeek
Copy link
Contributor

Based on how Spring Boot upgrades cascade down to earlier upgrades first. Expect the list of recipes to grow, which poorly fit into the JavaVersion17 recipe, which (now) only sets compiler source & target version again.

@timtebeek
Copy link
Contributor Author

The application here is to easily migrate an application to Java 17 regardless of the current Java version, without having to explicitly migrate to intermediate versions. Bonus that it shortens my demo. ;)

Copy link
Contributor

@pway99 pway99 left a comment

Choose a reason for hiding this comment

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

Thanks @timtebeek!

@pway99 pway99 merged commit 7baf264 into openrewrite:main Oct 13, 2022
@timtebeek timtebeek deleted the upgrade_to_java_17 branch October 13, 2022 20:55
@tkvangorder tkvangorder added this to the 1.13.0 milestone Oct 21, 2022
@tkvangorder tkvangorder added the recipe Recipe requested label Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
recipe Recipe requested
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants