]> source.dussan.org Git - aspectj.git/commitdiff
Another attempt to make this LTW change
authoraclement <aclement>
Fri, 2 Jun 2006 10:43:14 +0000 (10:43 +0000)
committeraclement <aclement>
Fri, 2 Jun 2006 10:43:14 +0000 (10:43 +0000)
loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java

index 35277ba4d1b227c3d84e83658a44c000a7f932c4..6f41e6aeb1c97dff13eb5daffbfeca217299e556 100644 (file)
@@ -42,6 +42,7 @@ import org.aspectj.weaver.bcel.BcelWorld;
 import org.aspectj.weaver.bcel.Utility;
 import org.aspectj.weaver.loadtime.definition.Definition;
 import org.aspectj.weaver.loadtime.definition.DocumentParser;
+import org.aspectj.weaver.ltw.LTWWorld;
 import org.aspectj.weaver.patterns.PatternParser;
 import org.aspectj.weaver.patterns.TypePattern;
 import org.aspectj.weaver.tools.GeneratedClassHandler;
@@ -105,7 +106,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
                return;
         }
         
-        bcelWorld = new BcelWorld(
+        bcelWorld = new LTWWorld(
                 loader, getMessageHandler(), new ICrossReferenceHandler() {
                     public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) {
                         ;// for tools only