Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7046007

(launcher) Improve usage information for -verbose option

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      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.

        Attachments

          Activity

            People

            Assignee:
            ksrini Kumar Srinivasan
            Reporter:
            dkorbel David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: