JDK-8027415 : Remove explicit support for -h as an obsolete option
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javap
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-10-29
  • Updated: 2014-02-06
  • Resolved: 2014-02-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Duplicate :  
Relates :  
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.