aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime/src
diff options
context:
space:
mode:
authoraclement <aclement>2008-05-27 18:53:03 +0000
committeraclement <aclement>2008-05-27 18:53:03 +0000
commit788899b050c9793be985d1721a8159092bcd3517 (patch)
treeb8150154c9cd9eb32ae5f663eb18de62798a5910 /loadtime/src
parentf08b2920cb9f6b1ab9b593b3136886c584ef772c (diff)
downloadaspectj-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.java1
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();
}