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

Remove explicit support for -h as an obsolete option

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • 9
    • None
    • tools

      -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.

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

              Created:
              Updated:
              Resolved: