aboutsummaryrefslogtreecommitdiffstats
path: root/taskdefs/src
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-05 12:23:52 +0000
committeraclement <aclement>2005-10-05 12:23:52 +0000
commit12e6334bf5f77d7c3bc2e66eeefa105f0507334a (patch)
tree740bd9271abcafb3bad10c01ba3060d8383efce0 /taskdefs/src
parent451fea8a2f9b3640d6c133c3f01dad8b9a78f72c (diff)
downloadaspectj-12e6334bf5f77d7c3bc2e66eeefa105f0507334a.tar.gz
aspectj-12e6334bf5f77d7c3bc2e66eeefa105f0507334a.zip
Let the bug floodgates open, reweavable is now default (pr91417)
Diffstat (limited to 'taskdefs/src')
-rw-r--r--taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
index 0427f9c1f..b8508383b 100644
--- a/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
+++ b/taskdefs/src/org/aspectj/tools/ant/taskdefs/AjcTask.java
@@ -256,7 +256,7 @@ public class AjcTask extends MatchingTask {
static {
String[] xs = new String[]
{ "serializableAspects", "incrementalFile", "lazyTjp",
- "reweavable", "reweavable:compress", "noInline"
+ "reweavable", "reweavable:compress", "notReweavable", "noInline"
//, "targetNearSource", "OcodeSize",
};
VALID_XOPTIONS = Collections.unmodifiableList(Arrays.asList(xs));
@@ -467,6 +467,10 @@ public class AjcTask extends MatchingTask {
cmd.addFlag("-Xreweavable",reweavable);
}
+ public void setXNotReweavable(boolean notReweavable) {
+ cmd.addFlag("-XnotReweavable",notReweavable);
+ }
+
public void setXNoInline(boolean noInline) {
cmd.addFlag("-XnoInline",noInline);
}
@@ -1820,6 +1824,8 @@ public class AjcTask extends MatchingTask {
setXNoweave(true);
} else if ("-Xreweavable".equals(flag)) {
setXReweavable(true);
+ } else if ("-XnotReweavable".equals(flag)) {
+ setXNotReweavable(true);
} else if (flag.startsWith("@")) {
File file = new File(flag.substring(1));
if (file.canRead()) {