test/tools/javac/generics/TyparamStaticScope2.java

Print this page

        

*** 25,35 **** * @test * @bug 5046972 * @summary type parameter referenced in static inner class improperly allowed! * @author gafter * ! * @compile/fail -source 1.5 TyparamStaticScope2.java */ package typaram.static_.scope2; class JBug<T> { --- 25,35 ---- * @test * @bug 5046972 * @summary type parameter referenced in static inner class improperly allowed! * @author gafter * ! * @compile/fail TyparamStaticScope2.java */ package typaram.static_.scope2; class JBug<T> {