test/tools/javac/generics/CyclicInheritance5.java

Print this page

        

*** 24,34 **** /* * @test * @bug 4862621 * @summary generics: incorrect cyclic inheritance error * ! * @compile -source 1.5 CyclicInheritance5.java */ class G<N extends G.Node<N>> { static class Node<N extends Node<N>> { } --- 24,34 ---- /* * @test * @bug 4862621 * @summary generics: incorrect cyclic inheritance error * ! * @compile CyclicInheritance5.java */ class G<N extends G.Node<N>> { static class Node<N extends Node<N>> { }