United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4450558 javap prints "null" for the method name in code compiled with -target 1.2
JDK-4450558 : javap prints "null" for the method name in code compiled with -target 1.2

Details
Type:
Bug
Submit Date:
2001-04-25
Status:
Resolved
Updated Date:
2002-11-20
Project Name:
JDK
Resolved Date:
2002-11-20
Component:
tools
OS:
solaris_7,linux
Sub-Component:
javap
CPU:
x86,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.4.0,1.4.1
Fixed Versions:
1.4.2 (mantis)

Related Reports
Duplicate:

Sub Tasks

Description
frog$ cat -n T.java
     1	class B {
     2	    void f() {}
     3	}
     4	
     5	class T extends B {
     6	    void g() {
     7		f();
     8	    }
     9	}
frog$ /java/jdk/1.4/re/promoted/latest/binaries/solsparc/bin/javac T.java
frog$ /java/jdk/1.4/re/promoted/latest/binaries/solsparc/bin/javap -c T
Compiled from T.java
class T extends B {
    T();
    void g();
}

Method T()
   0 aload_0
   1 invokespecial #1 <Method B()>
   4 return

Method void g()
   0 aload_0
   1 invokevirtual #2 <Method null>
   4 return
frog$ 

                                    

Comments
EVALUATION

This is fixed as a side effect of 4633400.

###@###.### 2002-11-19
                                     
2002-11-19
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis


                                     
2004-06-14



Hardware and Software, Engineered to Work Together