mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 23:25:52 +00:00
Support dynamically-loaded plugins in CustomClassFilter.Contributed.
This commit is contained in:
3 files changed
+23
-1
No files matched your search
@@ -150,6 +150,7 @@ import static java.util.logging.Level.FINE;
|
||||
import static java.util.logging.Level.INFO;
|
||||
import static java.util.logging.Level.SEVERE;
|
||||
import static java.util.logging.Level.WARNING;
|
||||
import jenkins.security.CustomClassFilter;
|
||||
import org.kohsuke.accmod.Restricted;
|
||||
import org.kohsuke.accmod.restrictions.NoExternalUse;
|
||||
|
||||
@@ -858,6 +859,9 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
((UberClassLoader) uberClassLoader).loaded.clear();
|
||||
}
|
||||
|
||||
// TODO antimodular; perhaps should have a PluginListener to complement ExtensionListListener?
|
||||
CustomClassFilter.Contributed.load();
|
||||
|
||||
try {
|
||||
p.resolvePluginDependencies();
|
||||
strategy.load(p);
|
||||
|
||||
Reference in new issue
Block a user