-
Notifications
You must be signed in to change notification settings - Fork 78
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
Added jre17AgentMainPreMainPublic recipes #296
Conversation
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.
Perfect!
@@ -36,6 +36,7 @@ recipeList: | |||
- org.openrewrite.java.migrate.DeprecatedJavaxSecurityCert | |||
- org.openrewrite.java.migrate.DeprecatedLogRecordThreadID | |||
- org.openrewrite.java.migrate.RemovedLegacySunJSSEProviderName | |||
- org.openrewrite.java.migrate.jre17AgentMainPreMainPublic |
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.
- org.openrewrite.java.migrate.jre17AgentMainPreMainPublic | |
- org.openrewrite.java.migrate.Jre17AgentMainPreMainPublic |
@@ -89,3 +90,23 @@ recipeList: | |||
- org.openrewrite.java.ChangeMethodName: | |||
methodPattern: java.util.logging.LogRecord setThreadID(int) | |||
newMethodName: setLongThreadID | |||
--- | |||
type: specs.openrewrite.org/v1beta/recipe | |||
name: org.openrewrite.java.migrate.jre17AgentMainPreMainPublic |
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.
name: org.openrewrite.java.migrate.jre17AgentMainPreMainPublic | |
name: org.openrewrite.java.migrate.Jre17AgentMainPreMainPublic |
type: specs.openrewrite.org/v1beta/recipe | ||
name: org.openrewrite.java.migrate.jre17AgentMainPreMainPublic | ||
displayName: Set visibility of `premain` and `agentmain` methods to `public` | ||
description: Check for a behavior change in Java agents |
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.
description: Check for a behavior change in Java agents | |
description: Check for a behavior change in Java agents. |
What's changed?
What's your motivation?
Anything in particular you'd like reviewers to focus on?
Anyone you would like to review specifically?
@timtebeek @joanvr
Have you considered any alternatives or workarounds?
Any additional context
Checklist
./gradlew licenseFormat