提交 c4d2e187 编写于 作者: K kohsuke

bug fix.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@4332 71c3de6d-444a-0410-be80-ed276b4c234a
上级 b3e47fda
......@@ -102,7 +102,7 @@ public class Main {
// so unless we discard all the realms multiple invocations
// that use different versions of the same plugin will fail to work correctly.
Set all = new HashSet(world.getRealms());
all.retainAll(builtinRealms);
all.removeAll(builtinRealms);
for (Iterator itr = all.iterator(); itr.hasNext();) {
ClassRealm cr = (ClassRealm) itr.next();
world.disposeRealm(cr.getId());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册