diff options
author | aclement <aclement> | 2006-03-10 13:29:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-03-10 13:29:05 +0000 |
commit | 1f4858d01bd292a01a9f3c45fe29df441a556884 (patch) | |
tree | b77f5bd1236bebfa4b61045408e382f4fee62eb6 | |
parent | f1d5dd55312ccf439cf1ad53ddc66f9d70a634b9 (diff) | |
download | aspectj-1f4858d01bd292a01a9f3c45fe29df441a556884.tar.gz aspectj-1f4858d01bd292a01a9f3c45fe29df441a556884.zip |
moved to be a WeakHashMap
-rw-r--r-- | bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java | 8 | ||||
-rw-r--r-- | lib/bcel/bcel-src.zip | bin | 877328 -> 877337 bytes | |||
-rw-r--r-- | lib/bcel/bcel.jar | bin | 602647 -> 604712 bytes |
3 files changed, 4 insertions, 4 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java b/bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java index 6a3e4b028..93c81f20d 100644 --- a/bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java +++ b/bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java @@ -56,7 +56,7 @@ package org.aspectj.apache.bcel.util; import java.io.IOException; import java.io.InputStream; -import java.util.HashMap; +import java.util.WeakHashMap; import org.aspectj.apache.bcel.classfile.ClassParser; import org.aspectj.apache.bcel.classfile.JavaClass; @@ -70,7 +70,7 @@ import org.aspectj.apache.bcel.classfile.JavaClass; * * @see org.aspectj.apache.bcel.Repository * - * @version $Id: ClassLoaderRepository.java,v 1.4 2004/11/22 08:31:27 aclement Exp $ + * @version $Id: ClassLoaderRepository.java,v 1.5 2006/03/10 13:29:05 aclement Exp $ * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A> * @author David Dixon-Peugh */ @@ -78,8 +78,8 @@ public class ClassLoaderRepository implements Repository { private java.lang.ClassLoader loader; - private HashMap loadedClasses = - new HashMap(); // CLASSNAME X JAVACLASS + private WeakHashMap loadedClasses = + new WeakHashMap(); // CLASSNAME X JAVACLASS public ClassLoaderRepository( java.lang.ClassLoader loader ) { this.loader = loader; diff --git a/lib/bcel/bcel-src.zip b/lib/bcel/bcel-src.zip Binary files differindex 770d77312..359bd61a9 100644 --- a/lib/bcel/bcel-src.zip +++ b/lib/bcel/bcel-src.zip diff --git a/lib/bcel/bcel.jar b/lib/bcel/bcel.jar Binary files differindex d6237720c..b1340e500 100644 --- a/lib/bcel/bcel.jar +++ b/lib/bcel/bcel.jar |