aboutsummaryrefslogtreecommitdiffstats
path: root/weaver/src
diff options
context:
space:
mode:
Diffstat (limited to 'weaver/src')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java b/weaver/src/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java
index 261621495..3480b8172 100644
--- a/weaver/src/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java
+++ b/weaver/src/org/aspectj/weaver/bcel/ExtensibleURLClassLoader.java
@@ -9,6 +9,8 @@
* Contributors:
* Matthew Webster, Adrian Colyer,
* Martin Lippert initial implementation
+ * Andy Clement
+ * Roy Varghese - Bug 473555
* ******************************************************************/
package org.aspectj.weaver.bcel;
@@ -101,5 +103,11 @@ public abstract class ExtensibleURLClassLoader extends URLClassLoader {
int offset = className.lastIndexOf('.');
return (offset == -1) ? null : className.substring(0, offset);
}
+
+ @Override
+ public void close() throws IOException {
+ super.close();
+ classPath.closeArchives();
+ }
}