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

Remove explicit support for -h as an obsolete option

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:

      Description

      -h used to be a valid option for javap, but obsolete. When running javap -h, the output is
      Error: -h is no longer available - use the javah program

      When running javap with other invalid option, for example -b, it shows
      Error: unknown option: -b
      Usage: javap <options> <classes>
      use -help for a list of possible options

      This RFE is to change -h and all other obsolete options to print out consistent output as invalid options.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jjg Jonathan Gibbons
                Reporter:
                cl Christine Lu (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: