aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2002-12-17 00:32:49 +0000
committerjhugunin <jhugunin>2002-12-17 00:32:49 +0000
commitf68a0546db571904177e905ba81735bf7f81c9c9 (patch)
treeda923fbd729e785e1ebdf46517779b3af0406693 /taskdefs
parent83a5cf335b7179ae5dbc9963614eb8f935702a9a (diff)
downloadaspectj-f68a0546db571904177e905ba81735bf7f81c9c9.tar.gz
aspectj-f68a0546db571904177e905ba81735bf7f81c9c9.zip
propoogating Erik's changes to AbortException
Diffstat (limited to 'taskdefs')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc10.java2
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc10.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc10.java
index 7c79d0284..cacf88627 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc10.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc10.java
@@ -592,7 +592,7 @@ public class Ajc10 extends MatchingTask {
} catch (Throwable t) {
while (t instanceof AbortException) {
// check for "just quit -- message printed already"
- if (AbortException.ABORT.equals(t)) {
+ if (((AbortException)t).isSilent()) {
t = null;
break;
}
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java
index c4e87f3de..64b7d04db 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/Ajc11CompilerAdapter.java
@@ -88,7 +88,7 @@ public class Ajc11CompilerAdapter extends DefaultCompilerAdapter {
} catch (BuildException e) {
throw e;
} catch (AbortException x) {
- if (AbortException.ABORT.equals(x)) { // no message, just return
+ if (x.isSilent()) { // no message, just return
return false;
} else {
Throwable t = x.getThrown();