mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8224763: Update man pages to show deprecation of -Xverify:none
Add the appropriate deprecation text Reviewed-by: dholmes, lfoltan
This commit is contained in:
parent
02958a41ef
commit
cf48689855
3 changed files with 10 additions and 2 deletions
|
@ -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\
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue