test/tools/javac/generics/UncheckedArray.java

Print this page

        

*** 25,35 **** * @test * @bug 4992316 * @summary compiler allows new array of array of type parameter * @author gafter * ! * @compile/fail -source 1.5 UncheckedArray.java */ package unchecked.array; class J<T> { --- 25,35 ---- * @test * @bug 4992316 * @summary compiler allows new array of array of type parameter * @author gafter * ! * @compile/fail UncheckedArray.java */ package unchecked.array; class J<T> {