-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.1
-
mantis
-
generic, x86
-
linux, solaris_7
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$
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$
- duplicates
-
JDK-4817558 REGRESSION: "null" reported as the selector of invocations and field operations
- Closed