diff options
author | aclement <aclement> | 2008-05-27 18:53:03 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-27 18:53:03 +0000 |
commit | 788899b050c9793be985d1721a8159092bcd3517 (patch) | |
tree | b8150154c9cd9eb32ae5f663eb18de62798a5910 /loadtime/src | |
parent | f08b2920cb9f6b1ab9b593b3136886c584ef772c (diff) | |
download | aspectj-788899b050c9793be985d1721a8159092bcd3517.tar.gz aspectj-788899b050c9793be985d1721a8159092bcd3517.zip |
210470: preventing weaver leaks: use a weak classloader ref
Diffstat (limited to 'loadtime/src')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/WeavingURLClassLoader.java | 1 |
1 files changed, 1 insertions, 0 deletions
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(); } |