mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8215156: Deprecate the -Xfuture option
Reviewed-by: dholmes
This commit is contained in:
parent
03428d73fc
commit
f30500c679
5 changed files with 7 additions and 0 deletions
|
@ -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"
|
||||
|
|
|
@ -1430,6 +1430,7 @@ 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue