8224763: Update man pages to show deprecation of -Xverify:none

Add the appropriate deprecation text

Reviewed-by: dholmes, lfoltan
This commit is contained in:
Harold Seigel 2019-05-29 08:21:33 -04:00
parent 02958a41ef
commit cf48689855
3 changed files with 10 additions and 2 deletions

View file

@ -1,5 +1,5 @@
#
# Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2007, 2019, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
@ -166,6 +166,8 @@ java.launcher.X.usage=\n\
\ configuration and continue\n\
\ -Xss<size> set java thread stack size\n\
\ -Xverify sets the mode of the bytecode verifier\n\
\ Note that option -Xverify:none is deprecated and\n\
\ may be removed in a future release.\n\
\ --add-reads <module>=<target-module>(,<target-module>)*\n\
\ updates <module> to read <target-module>, regardless\n\
\ of module declaration. \n\

View file

@ -1,5 +1,5 @@
'\" t
.\" Copyright (c) 1994, 2018, Oracle and/or its affiliates. All rights reserved.
.\" Copyright (c) 1994, 2019, Oracle and/or its affiliates. All rights reserved.
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
.\"
.\" This code is free software; you can redistribute it and/or modify it
@ -1162,6 +1162,8 @@ arguments for this option include the following:
none
.RS 4
Do not verify the bytecode\&. This reduces startup time and also reduces the protection provided by Java\&.
.sp
This option is deprecated and may be removed in a future release.
.RE
.PP
remote

View file

@ -1437,6 +1437,10 @@ ParseArguments(int *pargc, char ***pargv,
} 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 ||