Using AntClassLoader with Closeable so that we can predictably release jar files opened by URLClassLoader

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@19472 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
kohsuke committed 2009-07-07 18:35:32 +00:00
1 parent 2dd667265b
commit a31176489c
3 files changed
+47 -18

No files matched your search

+1 -2
View File
@@ -322,9 +322,8 @@ public final class PluginManager extends AbstractModelObject {
* Orderly terminates all the plugins.
*/
public void stop() {
for (PluginWrapper p : activePlugins) {
for (PluginWrapper p : activePlugins)
p.stop();
}
// Work around a bug in commons-logging.
// See http://www.szegedi.org/articles/memleak.html
LogFactory.release(uberClassLoader);