JDK-6715251 : javap should be consistent with javac and return 2 if given no arguments
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-06-17
  • Updated: 2011-05-17
  • Resolved: 2011-05-17
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 7
7 b32Fixed
Related Reports
Relates :  
Description
When given no command line arguments javap prints help screen (fixed!) however it set error code to 0 which is not consistent with javac's setting it to 2.
Failing Test: javap/javap_t0a
When given no cmd line arguments javap now prints help screen, however, the error code is set to 0 which is not consistent with javac's 2.

Comments
EVALUATION Yes.
17-06-2008