diff -r 26dd6fdc4165 -r 5f9ef936707c src/java.base/share/native/libjli/java.c --- a/src/java.base/share/native/libjli/java.c Sun Jun 02 16:59:41 2019 -0700 +++ b/src/java.base/share/native/libjli/java.c Mon Jun 03 11:06:24 2019 +0530 @@ -1430,12 +1430,17 @@ } 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 ||