test/tools/javac/generics/typevars/4856983/T4856983.java

Print this page

        

*** 25,35 **** * @test * @bug 4856983 * @summary (crash) mutually f-bounded type vars with multiple bounds may crash javac * @author Peter von der Ah\u00e9 * ! * @compile -source 5 T4856983.java */ import java.lang.Comparable; class A<X extends Number & Comparable<Y>, Y> { --- 25,35 ---- * @test * @bug 4856983 * @summary (crash) mutually f-bounded type vars with multiple bounds may crash javac * @author Peter von der Ah\u00e9 * ! * @compile T4856983.java */ import java.lang.Comparable; class A<X extends Number & Comparable<Y>, Y> {