aboutsummaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2008-10-21 22:51:00 +0000
committeraclement <aclement>2008-10-21 22:51:00 +0000
commit07f961ab2915cefdb9e2cc163ae02d8fc54aacdb (patch)
tree76933cadda2940651284e6acc3c3d1d6e3b9ba3b /loadtime
parent471db173df94e16aeca5edaa0a5f2948bcf3c50e (diff)
downloadaspectj-07f961ab2915cefdb9e2cc163ae02d8fc54aacdb.tar.gz
aspectj-07f961ab2915cefdb9e2cc163ae02d8fc54aacdb.zip
246125: c16
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java6
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java6
2 files changed, 6 insertions, 6 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 9bc3dd650..f821cb224 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -35,12 +35,12 @@ import org.aspectj.util.LangUtil;
import org.aspectj.weaver.Lint;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.UnresolvedType;
-import org.aspectj.weaver.WeakClassLoaderReference;
import org.aspectj.weaver.World;
import org.aspectj.weaver.Lint.Kind;
import org.aspectj.weaver.bcel.BcelWeaver;
import org.aspectj.weaver.bcel.BcelWorld;
import org.aspectj.weaver.bcel.Utility;
+import org.aspectj.weaver.bcel.BcelWeakClassLoaderReference;
import org.aspectj.weaver.loadtime.definition.Definition;
import org.aspectj.weaver.loadtime.definition.DocumentParser;
import org.aspectj.weaver.ltw.LTWWorld;
@@ -102,10 +102,10 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
}
class SimpleGeneratedClassHandler implements GeneratedClassHandler {
- private WeakClassLoaderReference loaderRef;
+ private BcelWeakClassLoaderReference loaderRef;
SimpleGeneratedClassHandler(ClassLoader loader) {
- loaderRef = new WeakClassLoaderReference(loader);
+ loaderRef = new BcelWeakClassLoaderReference(loader);
}
/**
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java b/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
index 19feeb393..67951c97f 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/DefaultWeavingContext.java
@@ -16,7 +16,7 @@ import java.net.URL;
import java.util.Enumeration;
import java.util.List;
-import org.aspectj.weaver.WeakClassLoaderReference;
+import org.aspectj.weaver.bcel.BcelWeakClassLoaderReference;
import org.aspectj.weaver.tools.Trace;
import org.aspectj.weaver.tools.TraceFactory;
import org.aspectj.weaver.tools.WeavingAdaptor;
@@ -28,7 +28,7 @@ import org.aspectj.weaver.tools.WeavingAdaptor;
*/
public class DefaultWeavingContext implements IWeavingContext {
- protected WeakClassLoaderReference loaderRef;
+ protected BcelWeakClassLoaderReference loaderRef;
private String shortName;
private static Trace trace = TraceFactory.getTraceFactory().getTrace(DefaultWeavingContext.class);
@@ -40,7 +40,7 @@ public class DefaultWeavingContext implements IWeavingContext {
*/
public DefaultWeavingContext(ClassLoader loader) {
super();
- this.loaderRef = new WeakClassLoaderReference(loader);
+ this.loaderRef = new BcelWeakClassLoaderReference(loader);
}
/**