Maurizio Cimadamore a11cd67b7c 6521805: Regression: JDK5/JDK6 javac allows write access to outer class reference
Javac should warn/complain about identifiers with the same name as synthetic symbol

Reviewed-by: jjg
2009-08-11 01:13:14 +01:00

14 lines
181 B
Java

package p;
class Inner extends Outer.Super {
Inner(Outer t) {
t.super();
}
Outer this$0 = null;
public void foo() {
this$0 = new Outer();
}
}