From: aclement Date: Tue, 27 May 2008 18:53:03 +0000 (+0000) Subject: 210470: preventing weaver leaks: use a weak classloader ref X-Git-Tag: V1_6_1x~7 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=788899b050c9793be985d1721a8159092bcd3517;p=aspectj.git 210470: preventing weaver leaks: use a weak classloader ref --- diff --git a/loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java b/loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java index 01d3c6d90..10516e46e 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java @@ -145,6 +145,7 @@ public class WeavingURLClassLoader extends ExtensibleURLClassLoader implements W /* Ensures consistent LTW messages for testing */ public String getClassLoaderName() { + ClassLoader loader = getClassLoader(); return loader.getClass().getName(); }