test/tools/javac/generics/T4695348.java

Print this page

        

*** 25,35 **** * @test * @bug 4695348 * @summary generics: compiler allows ref to type bounds in static members * @author gafter * ! * @compile/fail -source 1.5 T4695348.java */ class T4695348<T> { static T x = null; } --- 25,35 ---- * @test * @bug 4695348 * @summary generics: compiler allows ref to type bounds in static members * @author gafter * ! * @compile/fail T4695348.java */ class T4695348<T> { static T x = null; }