test/tools/javac/generics/wildcards/T5097548.java

Print this page

        

*** 24,34 **** /* * @test * @bug 5097548 * @summary (crash) Stack overflow in capture conversion * @author Peter von der Ah\u00e9 ! * @compile -source 5 T5097548.java * @run main T5097548 */ interface Edge<N extends Node<? extends Edge<? extends N>>> {} interface Node<E extends Edge<? extends Node<? extends E>>> {} --- 24,34 ---- /* * @test * @bug 5097548 * @summary (crash) Stack overflow in capture conversion * @author Peter von der Ah\u00e9 ! * @compile T5097548.java * @run main T5097548 */ interface Edge<N extends Node<? extends Edge<? extends N>>> {} interface Node<E extends Edge<? extends Node<? extends E>>> {}