-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
1.2.0
-
x86
-
windows_nt
Name: clC74495 Date: 05/13/99
--- expected:
compile error at line 7
--- actual:
compile: OK
execute:
Outer3@77263604
Outer3.this = null
Outer3.this = Outer3@77263604
--- X.java
class Outer3 {
class Nested3 {
Nested3() {
super();
}
Nested3(String o) {
o.super(); // should be error
}
void g() {
System.out.println("Outer3.this = " + Outer3.this);
}
}
void f() {
System.out.println(this);
new Nested3("hello").g();
new Nested3().g();
}
public static void main(String[] args) {
new Outer3().f();
}
}
(Review ID: 63137)
======================================================================