mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +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
|
@ -132,6 +132,8 @@ java.launcher.X.usage=\n\
|
|||
\ -Xdebug provided for backward compatibility\n\
|
||||
\ -Xdiag show additional diagnostic messages\n\
|
||||
\ -Xfuture enable strictest checks, anticipating future default\n\
|
||||
\ This option is deprecated and may be removed in a\n\
|
||||
\ future release.\n\
|
||||
\ -Xint interpreted mode execution only\n\
|
||||
\ -Xinternalversion\n\
|
||||
\ displays more detailed JVM version information than the\n\
|
||||
|
|
|
@ -716,6 +716,8 @@ Shows additional diagnostic messages\&.
|
|||
\-Xfuture
|
||||
.RS 4
|
||||
Enables strict class\-file format checks that enforce close conformance to the class\-file format specification\&. Developers are encouraged to use this flag when developing new code because the stricter checks will become the default in future releases\&.
|
||||
.sp
|
||||
This option is deprecated and may be removed in a future release.
|
||||
.RE
|
||||
.PP
|
||||
\-Xint
|
||||
|
|
|
@ -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