summaryrefslogtreecommitdiffstats
path: root/loadtime
diff options
context:
space:
mode:
authoravasseur <avasseur>2005-11-07 11:02:00 +0000
committeravasseur <avasseur>2005-11-07 11:02:00 +0000
commitd53fe2aeac3c48998da570516a3d3810fb3a40fe (patch)
tree92c454ca37c0f5f9ffeec20bb4adc7526e8d6b3b /loadtime
parente951f5240c0b786e7e2a4d1144de6e41744a07f9 (diff)
downloadaspectj-d53fe2aeac3c48998da570516a3d3810fb3a40fe.tar.gz
aspectj-d53fe2aeac3c48998da570516a3d3810fb3a40fe.zip
#114897 notreweavable is default on LTW - by Matthew Webster.
Diffstat (limited to 'loadtime')
-rw-r--r--loadtime/src/org/aspectj/weaver/loadtime/Options.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Options.java b/loadtime/src/org/aspectj/weaver/loadtime/Options.java
index 705c585dd..5bc469470 100644
--- a/loadtime/src/org/aspectj/weaver/loadtime/Options.java
+++ b/loadtime/src/org/aspectj/weaver/loadtime/Options.java
@@ -35,7 +35,7 @@ public class Options {
private final static String OPTION_noWarnNone = "-warn:none";
private final static String OPTION_proceedOnError = "-proceedOnError";
private final static String OPTION_verbose = "-verbose";
- private final static String OPTION_notReweavable = "-XNotReweavable";
+ private final static String OPTION_reweavable = "-Xreweavable";//notReweavable is default for LTW
private final static String OPTION_noinline = "-Xnoinline";
private final static String OPTION_hasMember = "-XhasMember";
private final static String OPTION_pinpoint = "-Xdev:pinpoint";
@@ -91,8 +91,8 @@ public class Options {
weaverOption.noWarn = true;
} else if (arg.equalsIgnoreCase(OPTION_proceedOnError)) {
weaverOption.proceedOnError = true;
- } else if (arg.equalsIgnoreCase(OPTION_notReweavable)) {
- weaverOption.notReWeavable = true;
+ } else if (arg.equalsIgnoreCase(OPTION_reweavable)) {
+ weaverOption.notReWeavable = false;
} else if (arg.equalsIgnoreCase(OPTION_showWeaveInfo)) {
weaverOption.showWeaveInfo = true;
} else if (arg.equalsIgnoreCase(OPTION_hasMember)) {
@@ -144,7 +144,7 @@ public class Options {
boolean noWarn;
boolean proceedOnError;
boolean verbose;
- boolean notReWeavable;
+ boolean notReWeavable = true;//default to notReweavable for LTW (faster)
boolean noInline;
boolean showWeaveInfo;
boolean pinpoint;