1 // It is legal to reference "this" from an enclosing type, or an instance 2 // field from an enclosing type, in a super constructor call. 3 4 public class SuperConstr 5 { SuperConstr(Object x, Outer y)6 SuperConstr (Object x, Outer y) {} 7 } 8 9 class Outer 10 { 11 Object x; 12 13 class Sub extends SuperConstr 14 { Sub()15 Sub() 16 { 17 super(x, Outer.this); 18 } 19 } 20 } 21