-
Notifications
You must be signed in to change notification settings - Fork 82
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
javax.security.cert
, LogRecord.getLongThreadID
, and com.sun.net.ssl.internal.ssl.Provider
migration recipes
#290
Conversation
javax.security.cert
, com.sun.net.ssl.internal.ssl.Provider
and LogRecord.getLongThreadID
migration recipes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding these recipes; I've added some comments where I think we can improve, but a good start overall. I think moving (and renaming) ChangeStringLiteral
here would be a first step to getting the tests going.
…nJSSEProviderName
Format tests; add markdown to displayName and descriptions.
javax.security.cert
, com.sun.net.ssl.internal.ssl.Provider
and LogRecord.getLongThreadID
migration recipesjavax.security.cert
, and com.sun.net.ssl.internal.ssl.Provider
migration recipes
Thanks again @cjobinabo ; I'm merging these changes early as I think there's enough value in having these already. We can come back to that |
javax.security.cert
, and com.sun.net.ssl.internal.ssl.Provider
migration recipesjavax.security.cert
, LogRecord.getLongThreadID
, and com.sun.net.ssl.internal.ssl.Provider
migration recipes
What's changed?
This pull request includes recipes for the following migration issues:



What's your motivation?
Anything in particular you'd like reviewers to focus on?
The test for these recipes currently fail with the following exception:
My IntelliJ IDE is currently set to use 12GBs of memory. I noticed that other existing tests on this repo also fail so I'm curious to see if the builds show the same failure. If they do I'm hoping to get some guidance on how to resolve these.
A test currently doesn't exist for the
org.openrewrite.java.migrate.RemovedLegacySunJSSEProviderName
recipe. The core code for that currently lives in the rewrite repo. I'm wondering if I can move org.openrewrite.java.ChangeStringLiteral from the rewrite-liberty repo to the core rewrite repo.Anyone you would like to review specifically?
@timtebeek @joanvr
Have you considered any alternatives or workarounds?
Any additional context
Checklist
./gradlew licenseFormat