summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2006-03-10 13:29:05 +0000
committeraclement <aclement>2006-03-10 13:29:05 +0000
commit1f4858d01bd292a01a9f3c45fe29df441a556884 (patch)
treeb77f5bd1236bebfa4b61045408e382f4fee62eb6
parentf1d5dd55312ccf439cf1ad53ddc66f9d70a634b9 (diff)
downloadaspectj-1f4858d01bd292a01a9f3c45fe29df441a556884.tar.gz
aspectj-1f4858d01bd292a01a9f3c45fe29df441a556884.zip
moved to be a WeakHashMap
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/util/ClassLoaderRepository.java8
-rw-r--r--lib/bcel/bcel-src.zipbin877328 -> 877337 bytes
-rw-r--r--lib/bcel/bcel.jarbin602647 -> 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
index 770d77312..359bd61a9 100644
--- a/lib/bcel/bcel-src.zip
+++ b/lib/bcel/bcel-src.zip
Binary files differ
diff --git a/lib/bcel/bcel.jar b/lib/bcel/bcel.jar
index d6237720c..b1340e500 100644
--- a/lib/bcel/bcel.jar
+++ b/lib/bcel/bcel.jar
Binary files differ