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

Adapt generic-whitelist to handle addition of String#stripIndent method in Java 15 #453

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

steven-aerts
Copy link

stripIndent eclipses the DefaultGroovyMethods which is already in the generic-whitelist.
Scripts already using this method were breaking when the JVM was upstepped as it would choose standard implementation over the one provided by groovy.

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

Looking at git history it is not clear to me if you require a jira ticket. If so let me know the I create one.

Copy link
Member

@dwnusbaum dwnusbaum left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

`stripIndent` eclipses the `DefaultGroovyMethods` which is
already in the generic-whitelist.  Scripts already using this
method were breaking when the JVM was upstepped as it would choose
standard implementation over the one provided by groovy.
@dwnusbaum dwnusbaum added the bug label Sep 16, 2022
@dwnusbaum dwnusbaum changed the title Adapt to String#stripIndent of java 15 Adapt generic-whitelist to handle addition of String#stripIndent method in Java 15 Sep 16, 2022
@dwnusbaum dwnusbaum merged commit 774b0b0 into jenkinsci:master Sep 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants