test/tools/javac/generics/CyclicInheritance3.java

Print this page

        

*** 24,34 **** /* * @test * @bug 4861743 * @summary generics: incorrect cyclic inheritance error with type parameters * ! * @compile -source 1.5 CyclicInheritance3.java */ class Cycle { class A<T> {} class B extends A<C> {} --- 24,34 ---- /* * @test * @bug 4861743 * @summary generics: incorrect cyclic inheritance error with type parameters * ! * @compile CyclicInheritance3.java */ class Cycle { class A<T> {} class B extends A<C> {}