1/* 2 * @test /nodynamiccopyright/ 3 * @bug 4992316 4 * @summary compiler allows new array of array of type parameter 5 * @author gafter 6 * 7 * @compile/fail/ref=UncheckedArray.out -XDrawDiagnostics UncheckedArray.java 8 */ 9 10package unchecked.array; 11 12class J<T> { 13 { 14 Object o = new T[3][]; 15 } 16} 17