提交 40806bb2 编写于 作者: K Kohsuke Kawaguchi

Cyclic dependency check not needed.

上级 a9be16e2
...@@ -335,7 +335,8 @@ public abstract class PluginManager extends AbstractModelObject { ...@@ -335,7 +335,8 @@ public abstract class PluginManager extends AbstractModelObject {
if (getPlugin(p.getShortName())!=null) if (getPlugin(p.getShortName())!=null)
throw new IllegalArgumentException("Dynamic reloading isn't possible"); 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); plugins.add(p);
activePlugins.add(p); activePlugins.add(p);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册