Cyclic dependency check not needed.

This commit is contained in:
Kohsuke Kawaguchi committed 2011-11-15 22:05:55 -08:00
1 parent a9be16e25e
commit 40806bb290
1 file changed
+2 -1
+2 -1
View File
@@ -335,7 +335,8 @@ public abstract class PluginManager extends AbstractModelObject {
if (getPlugin(p.getShortName())!=null)
throw new IllegalArgumentException("Dynamic reloading isn't possible");
// TODO: check cyclic dependency
// there's no need to do cyclic dependency check, because we are deploying one at a time,
// so existing plugins can't be depending on this newly deployed one.
plugins.add(p);
activePlugins.add(p);