diff options
author | aclement <aclement> | 2005-10-05 12:23:52 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-10-05 12:23:52 +0000 |
commit | 12e6334bf5f77d7c3bc2e66eeefa105f0507334a (patch) | |
tree | 740bd9271abcafb3bad10c01ba3060d8383efce0 /loadtime | |
parent | 451fea8a2f9b3640d6c133c3f01dad8b9a78f72c (diff) | |
download | aspectj-12e6334bf5f77d7c3bc2e66eeefa105f0507334a.tar.gz aspectj-12e6334bf5f77d7c3bc2e66eeefa105f0507334a.zip |
Let the bug floodgates open, reweavable is now default (pr91417)
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | 2 | ||||
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/Options.java | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java index 208c2b508..7e1d9f05a 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java @@ -183,7 +183,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { world.setXlazyTjp(weaverOption.lazyTjp); world.setXHasMemberSupportEnabled(weaverOption.hasMember); world.setPinpointMode(weaverOption.pinpoint); - weaver.setReweavableMode(weaverOption.reWeavable, false); + weaver.setReweavableMode(weaverOption.notReWeavable); world.setXnoInline(weaverOption.noInline); world.setBehaveInJava5Way(weaverOption.java5);//TODO should be autodetected ? //-Xlintfile: first so that lint wins diff --git a/loadtime/src/org/aspectj/weaver/loadtime/Options.java b/loadtime/src/org/aspectj/weaver/loadtime/Options.java index 9c15c5711..705c585dd 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_reweavable = "-Xreweavable"; + private final static String OPTION_notReweavable = "-XNotReweavable"; 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_reweavable)) { - weaverOption.reWeavable = true; + } else if (arg.equalsIgnoreCase(OPTION_notReweavable)) { + weaverOption.notReWeavable = true; } 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 reWeavable; + boolean notReWeavable; boolean noInline; boolean showWeaveInfo; boolean pinpoint; |