test/tools/javac/generics/GenericThrowable.java

Print this page

        

*** 25,34 **** * @test * @bug 4984157 * @summary java.lang.Throwable inheritance in parameterized type * @author gafter * ! * @compile/fail -source 1.5 GenericThrowable.java */ class GenericThrowable<T> extends NullPointerException { } --- 25,34 ---- * @test * @bug 4984157 * @summary java.lang.Throwable inheritance in parameterized type * @author gafter * ! * @compile/fail GenericThrowable.java */ class GenericThrowable<T> extends NullPointerException { }