test/tools/javac/generics/ExtendedRaw1.java

Print this page

        

*** 25,35 **** * @test * @bug 4463802 * @summary generics: extension of raw not treated as raw. * @author gafter * ! * @compile -source 1.5 ExtendedRaw1.java */ class Comparator<T> {} class Arrays { public static <U, T extends U> void sort(T[] a, Comparator<U> c) { --- 25,35 ---- * @test * @bug 4463802 * @summary generics: extension of raw not treated as raw. * @author gafter * ! * @compile ExtendedRaw1.java */ class Comparator<T> {} class Arrays { public static <U, T extends U> void sort(T[] a, Comparator<U> c) {