test/tools/javac/generics/ErasureClashCrash.java

Print this page

        

*** 25,35 **** * @test * @bug 4951670 * @summary javac crash with improper overrider * @author gafter * ! * @compile/fail -source 1.5 ErasureClashCrash.java */ interface Compar<T> { int compareTo(T o); } --- 25,35 ---- * @test * @bug 4951670 * @summary javac crash with improper overrider * @author gafter * ! * @compile/fail ErasureClashCrash.java */ interface Compar<T> { int compareTo(T o); }