diff options
author | aclement <aclement> | 2006-05-18 13:00:08 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-18 13:00:08 +0000 |
commit | 4eb6fbcc59a32e26704f4c3e82224cd323cdc0a9 (patch) | |
tree | 1c3d96b1647e2ea5770cc958afdd3a19e314f1b3 /loadtime | |
parent | 95b6665e651ab0a640cc5eadff875dde125a5880 (diff) | |
download | aspectj-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.java | 3 |
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); } } |