< prev index next > test/langtools/tools/javac/SuperInit/SuperInitGood.java
Print this page
super();
}
}
}
+ public static class Test25 {
+ public Test25(Object o) {}
+
+ class Sub extends Test25 {
+ public Sub() {
+ super(new Object() {
+ void foo() {
+ getClass();
+ }
+ });
+ }
+ }
+ }
+
public static void main(String[] args) {
new Test0();
new Test1();
new Test1(7);
new Test2<Byte>();
new Test21((int)123);
new Test21((float)123);
new Test22('x');
new Test23();
new Test24();
+ new Test25(null);
}
}
< prev index next >