(String[] args)
| 8 | } |
| 9 | |
| 10 | public static void main(String[] args) { |
| 11 | new A(); |
| 12 | B[][][] barr = new B[1][1][1]; // newarray doesn't trigger <clinit> |
| 13 | new D(); |
| 14 | E.f = new Object(); |
| 15 | Object o = F.f; |
| 16 | G g; |
| 17 | H.foo(); |
| 18 | new I(); |
| 19 | // A a = K.f; |
| 20 | // By JLS, this does not trigger initialization of interface K, |
| 21 | // as K does not declare default methods. |
| 22 | new L(); |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | class A { |