test/tools/javac/generics/GenLit2.java

Print this page

        

*** 25,35 **** * @test * @bug 4942201 * @summary java allows class literal on generic type parameter array * @author gafter * ! * @compile/fail -source 1.5 GenLit2.java */ package genLit2; class U<T> { --- 25,35 ---- * @test * @bug 4942201 * @summary java allows class literal on generic type parameter array * @author gafter * ! * @compile/fail GenLit2.java */ package genLit2; class U<T> {