United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6867671 javap whitespace formatting issues
JDK-6867671 : javap whitespace formatting issues

Details
Type:
Bug
Submit Date:
2009-08-01
Status:
Closed
Updated Date:
2012-01-13
Project Name:
JDK
Resolved Date:
2012-01-13
Component:
tools
OS:
solaris_9,generic
Sub-Component:
javap
CPU:
sparc,generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
1.4.2,6,7
Fixed Versions:

Related Reports
Duplicate:
Duplicate:
Relates:

Sub Tasks

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

                                    

Comments
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.
                                     
2009-08-01
EVALUATION

Best fixed by a combined overhaul of javap formatting.
                                     
2009-08-01



Hardware and Software, Engineered to Work Together