summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java
index 98428a326..17d2e7fae 100644
--- a/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java
+++ b/org.aspectj.ajdt.core/testsrc/org/aspectj/tools/ajc/AjcTestCase.java
@@ -670,7 +670,7 @@ public class AjcTestCase extends TestCase {
}
catch (InvocationTargetException ex) {
ex.printStackTrace();
- fail("Cannot create weaving class loader: " + ex.getCause());
+ fail("Cannot create weaving class loader: " + ex.getTargetException());
}
catch (Exception ex) {
ex.printStackTrace();