From 1f4858d01bd292a01a9f3c45fe29df441a556884 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 10 Mar 2006 13:29:05 +0000 Subject: moved to be a WeakHashMap --- .../apache/bcel/util/ClassLoaderRepository.java | 8 ++++---- lib/bcel/bcel-src.zip | Bin 877328 -> 877337 bytes 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 M. Dahm * @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 Binary files a/lib/bcel/bcel-src.zip and b/lib/bcel/bcel-src.zip differ diff --git a/lib/bcel/bcel.jar b/lib/bcel/bcel.jar index d6237720c..b1340e500 100644 Binary files a/lib/bcel/bcel.jar and b/lib/bcel/bcel.jar differ -- cgit v1.2.3