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";
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)) {
boolean noWarn;
boolean proceedOnError;
boolean verbose;
- boolean notReWeavable;
+ boolean notReWeavable = true;//default to notReweavable for LTW (faster)
boolean noInline;
boolean showWeaveInfo;
boolean pinpoint;