aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormwebster <mwebster>2006-11-06 13:52:52 +0000
committermwebster <mwebster>2006-11-06 13:52:52 +0000
commit3ad35ac6ba6054f6b28d61f421ca08e2a725f04e (patch)
tree7e2f233504a3f45695c3a89062a27215c6a2a610
parentbce3f0847b7398fb3fa3bc1c076f04624f74c7a1 (diff)
downloadaspectj-3ad35ac6ba6054f6b28d61f421ca08e2a725f04e.tar.gz
aspectj-3ad35ac6ba6054f6b28d61f421ca08e2a725f04e.zip
Bug 155033 "Use ajcore for LTW problems" (dump class loader)
-rw-r--r--weaver/src/org/aspectj/weaver/ltw/LTWWorld.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
index 439584ee9..d5d13cc38 100644
--- a/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
+++ b/weaver/src/org/aspectj/weaver/ltw/LTWWorld.java
@@ -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);
+ }
+
}