-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b01
-
generic
-
generic
-
Verified
SYNOPSIS
--------
Incorrect usage information for -verbose option
OPERATING SYSTEM
----------------
All
JDK VERSION
-----------
All
PROBLEM DESCRIPTION
-------------------
The usage information for the -verbose option is incorrect. It is presented as:
-verbose[:class|gc|jni]
This would imply that the following options are valid:
-verbose:class
-verbosegc
-verbosejni
The first two work ok, but running with "-verbosejni" does not produce verbose JNI data. The correct syntax for that option is "-verbose:jni".
Therefore, the usage information as it currently stands is incorrect.
REPRODUCTION INSTRUCTIONS
-------------------------
Simply run "java" and note the usage information for the "-verbose" option
SUGGESTED FIX
---------------
The usage information should be changed to read as either:
-verbose:[class|gc|jni]
or
-verbose[:class|gc|:jni]
The first option would seem to be neater, and all three options work properly using that syntax (i.e. -verbose:class, -verbose:gc, and -verbose:jni).
However, the second option takes into account the fact that the "-verbose" works on its own, without a class|gc|jni parameter.
--------
Incorrect usage information for -verbose option
OPERATING SYSTEM
----------------
All
JDK VERSION
-----------
All
PROBLEM DESCRIPTION
-------------------
The usage information for the -verbose option is incorrect. It is presented as:
-verbose[:class|gc|jni]
This would imply that the following options are valid:
-verbose:class
-verbosegc
-verbosejni
The first two work ok, but running with "-verbosejni" does not produce verbose JNI data. The correct syntax for that option is "-verbose:jni".
Therefore, the usage information as it currently stands is incorrect.
REPRODUCTION INSTRUCTIONS
-------------------------
Simply run "java" and note the usage information for the "-verbose" option
SUGGESTED FIX
---------------
The usage information should be changed to read as either:
-verbose:[class|gc|jni]
or
-verbose[:class|gc|:jni]
The first option would seem to be neater, and all three options work properly using that syntax (i.e. -verbose:class, -verbose:gc, and -verbose:jni).
However, the second option takes into account the fact that the "-verbose" works on its own, without a class|gc|jni parameter.