JDK-6622232 : javap gets whitespace confused
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-10-26
  • Updated: 2012-01-13
  • Resolved: 2012-01-13
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7
7 b30Fixed
Related Reports
Relates :  
Description
javap is erratic in its whitespace, particularly when selected items are suppressed. The surrounding whitespace is sometimes suppressed.

Also, newline missing after write an Exception attribute.
Also, newline missing after write an Constant_value attribute.

Also, Depreacted attribute is (correctly) indented for methods, but not indeented for fields.

Comments
EVALUATION All fixed in new javap.
2008-02-18