summaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoraclement <aclement>2006-05-18 13:00:08 +0000
committeraclement <aclement>2006-05-18 13:00:08 +0000
commit4eb6fbcc59a32e26704f4c3e82224cd323cdc0a9 (patch)
tree1c3d96b1647e2ea5770cc958afdd3a19e314f1b3 /loadtime
parent95b6665e651ab0a640cc5eadff875dde125a5880 (diff)
downloadaspectj-4eb6fbcc59a32e26704f4c3e82224cd323cdc0a9.tar.gz
aspectj-4eb6fbcc59a32e26704f4c3e82224cd323cdc0a9.zip
testcode for 129408 - dont print out AbortException stack traces!!
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
index 2ba85abb0..65e24a6eb 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
@@ -27,6 +27,7 @@ import java.util.Properties;
import java.util.StringTokenizer;
import org.aspectj.asm.IRelationship;
+import org.aspectj.bridge.AbortException;
import org.aspectj.bridge.ISourceLocation;
import org.aspectj.util.LangUtil;
import org.aspectj.weaver.ICrossReferenceHandler;
@@ -183,7 +184,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor {
registerDump(weaver, loader, definitions);
} catch (Exception e) {
enabled = false;// will allow very fast skip in shouldWeave()
- warn("register definition failed",e);
+ warn("register definition failed",(e instanceof AbortException)?null:e);
}
}