From 5d0e1860cb5069b266ba70d33bc356d36e285a90 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Tue, 3 Jul 2012 13:46:29 -0700 Subject: [PATCH] 384189: actually respect dont dump on exception setting --- org.aspectj.matcher/src/org/aspectj/weaver/Dump.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/Dump.java b/org.aspectj.matcher/src/org/aspectj/weaver/Dump.java index 8d9aefda7..103e9fec2 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/Dump.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/Dump.java @@ -106,6 +106,9 @@ public class Dump { } public static String dumpWithException(IMessageHolder messageHolder, Throwable th) { + if (!getDumpOnException()) { + return null; + } if (trace.isTraceEnabled()) { trace.enter("dumpWithException", null, new Object[] { messageHolder, th }); } @@ -133,6 +136,9 @@ public class Dump { } public static String dumpOnExit(IMessageHolder messageHolder, boolean reset) { + if (!getDumpOnException()) { + return null; + } if (trace.isTraceEnabled()) { trace.enter("dumpOnExit", null, messageHolder); } -- 2.39.5