JDK-6867671 : javap whitespace formatting issues
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 1.4.2,6,7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris_9
  • CPU: generic,sparc
  • Submitted: 2009-08-01
  • 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 Availability Release.

To download the current JDK release, click here.
7 b70Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
javap has many issues with bad whitespace formatting that together lead to untidy and cluttered output. These issues can be grouped into 3 types

1. Inconsistent indentation, often varying with options (see 4794754)
2. Extraneous line feeds (see 6348225), typically caused by printing extra line feeds between empty sections, or to provide excessive visual separation between sections with inconsistent indentation (see #1.)
3. Bad alignment caused by simple-minded use of \t (tab) character.

EVALUATION Time to drop (whitespace) compatbility with JDK6 javap via the hidden -XDcompat option. It will be too onerous and somewhat pointless now to maintain that level of backward compatibility now that new javap is in accepted and standard use for some time.

EVALUATION Best fixed by a combined overhaul of javap formatting.