This commit is contained in:
Prasanta Sadhukhan 2019-06-03 11:06:24 +05:30
commit 4651ce7fc9
1115 changed files with 139491 additions and 66135 deletions

View file

@ -38,6 +38,7 @@
#define ARG_INFO_ENVVAR "NOTE: Picked up %s: %s"
#define ARG_WARN "Warning: %s option is no longer supported."
#define ARG_DEPRECATED "Warning: %s option is deprecated and may be removed in a future release."
#define ARG_ERROR1 "Error: %s requires class path specification"
#define ARG_ERROR2 "Error: %s requires jar file specification"

View file

@ -1430,12 +1430,17 @@ ParseArguments(int *pargc, char ***pargv,
} else if (JLI_StrCmp(arg, "-noclassgc") == 0) {
AddOption("-Xnoclassgc", NULL);
} else if (JLI_StrCmp(arg, "-Xfuture") == 0) {
JLI_ReportErrorMessage(ARG_DEPRECATED, "-Xfuture");
AddOption("-Xverify:all", NULL);
} else if (JLI_StrCmp(arg, "-verify") == 0) {
AddOption("-Xverify:all", NULL);
} else if (JLI_StrCmp(arg, "-verifyremote") == 0) {
AddOption("-Xverify:remote", NULL);
} else if (JLI_StrCmp(arg, "-noverify") == 0) {
/*
* Note that no 'deprecated' message is needed here because the VM
* issues 'deprecated' messages for -noverify and -Xverify:none.
*/
AddOption("-Xverify:none", NULL);
} else if (JLI_StrCCmp(arg, "-ss") == 0 ||
JLI_StrCCmp(arg, "-oss") == 0 ||