JDK-4777337 : Javp Rewrite : Better Indentations Required.
  • Type: Bug
  • Component: tools
  • Sub-Component: javap
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2002-11-12
  • Updated: 2002-11-22
  • Resolved: 2002-11-20
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.
Other
1.4.2 mantisFixed
Related Reports
Relates :  
Description
For testcase,
=============
class C   
{
        public int      fInt;
        public char     fChar;

        public void doNothing ()
        {
        }

        public int getSomething ()
        {
                return 5; 
        }
}

When used with Old Javap
========================
jtools-sqe:/home/vr128054/javap-test 31 % javap C
Compiled from C.java
class C extends java.lang.Object {
    public int fInt;
    public char fChar;
    C();
    public void doNothing();
    public int getSomething();
}

The New Javap gives the following behaviour
===========================================
tools-sqe:/home/vr128054/javap-test 53 % javap C
Compiled from "C.java"
class C extends java.lang.Object{
public int fInt;
public char fChar;
C();
public void doNothing();
public int getSomething();
}


The first output is more reader-friendly and easily understandable.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis FIXED IN: mantis INTEGRATED IN: mantis mantis-b08 VERIFIED IN: mantis
14-06-2004

EVALUATION Good idea. ###@###.### 2002-11-12
12-11-2002