]> source.dussan.org Git - aspectj.git/commitdiff
Bug 155033 "Use ajcore for LTW problems" (dump class loader)
authormwebster <mwebster>
Mon, 6 Nov 2006 13:52:52 +0000 (13:52 +0000)
committermwebster <mwebster>
Mon, 6 Nov 2006 13:52:52 +0000 (13:52 +0000)
weaver/src/org/aspectj/weaver/ltw/LTWWorld.java

index 439584ee90645cef25a6425900444d2d12a18d4d..d5d13cc38da588805a14de891e4bb36f0f97ebe2 100644 (file)
@@ -26,6 +26,7 @@ import org.aspectj.weaver.ICrossReferenceHandler;
 import org.aspectj.weaver.ReferenceType;
 import org.aspectj.weaver.ReferenceTypeDelegate;
 import org.aspectj.weaver.ResolvedType;
+import org.aspectj.weaver.Dump.IVisitor;
 import org.aspectj.weaver.bcel.BcelWorld;
 import org.aspectj.weaver.loadtime.IWeavingContext;
 import org.aspectj.weaver.reflect.AnnotationFinder;
@@ -250,5 +251,13 @@ public class LTWWorld extends BcelWorld implements IReflectionWorld {
                delegate.storeClass(clazz);
        }
 
+       public void accept(IVisitor visitor) {
+               visitor.visitObject("Class loader:");
+               visitor.visitObject(loader);
+               visitor.visitObject("Class loader parent:");
+               visitor.visitObject(loader.getParent());
+               super.accept(visitor);
+       }
+
     
 }