test/tools/javac/generics/6677785/T6677785.java

Tue, 08 Jan 2013 13:47:57 +0000

author
vromero
date
Tue, 08 Jan 2013 13:47:57 +0000
changeset 1482
954541f13717
parent 611
4172cfff05f0
child 2525
2eb010b6cb22
permissions
-rw-r--r--

8005167: execution time of combo tests in javac should be improved
Reviewed-by: jjg, jjh

     1 /*
     2  * @test /nodynamiccopyright/
     3  * @bug     6677785
     4  * @summary REGRESSION: StackOverFlowError with Cyclic Class level Type Parameters when used in constructors
     5  * @author Maurizio Cimadamore
     6  * @compile/fail/ref=T6677785.out -XDrawDiagnostics T6677785.java
     7  */
     8 public class T6677785<E extends T, T extends E> {
     9      T6677785() {}
    10      T6677785(E e) {}
    11      T6677785(E e, T t) {}
    12 }

mercurial