Skip to content

Commit

Permalink
Cyclic dependency check not needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed Nov 16, 2011
1 parent a9be16e commit 40806bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/hudson/PluginManager.java
Expand Up @@ -335,7 +335,8 @@ public void dynamicLoad(File arc) throws Exception {
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);
Expand Down

0 comments on commit 40806bb

Please sign in to comment.