-
Notifications
You must be signed in to change notification settings - Fork 142
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
[JENKINS-39520] ExtensionList.removeAll is unimplemented #56
[JENKINS-39520] ExtensionList.removeAll is unimplemented #56
Conversation
This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation. |
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.
🐝
🐝 |
@@ -150,7 +150,9 @@ private static void doAddSpecificDescriptors() { | |||
} | |||
} | |||
LOGGER.log(Level.FINE, "clearing {0}", old); | |||
all().removeAll(old); | |||
for (CustomOrganizationFolderDescriptor d : old) { | |||
all().remove(d); |
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.
🐛 can you show that this will not cause an infinite loop of death as you are now calling https://github.com/jenkinsci/jenkins/blob/6718a71f4be8cda7c575ae40ea0befec5c2ff1cf/core/src/main/java/hudson/ExtensionList.java#L197-L205
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.
Yes but on a different extension list.
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.
ok (bee)
…INS-39520 [JENKINS-39520] ExtensionList.removeAll is unimplemented (cherry picked from commit f5c8342)
JENKINS-39520
@reviewbybees