langtools/test/tools/javac/T6663588.java
author mcimadamore
Wed, 26 Oct 2016 15:41:25 +0100
changeset 41856 13a056e8f16e
parent 26901 2c11dc81a5c8
permissions -rw-r--r--
8168774: Polymorhic signature method check crashes javac Summary: Check for polysig method assumes arity is greater than zero Reviewed-by: vromero
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
165
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     1
/*
26901
2c11dc81a5c8 8055783: Group 9e: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     2
 * @test /nodynamiccopyright/
165
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     3
 * @bug 6663588
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     4
 * @summary Compiler goes into infinite loop for Cyclic Inheritance test case
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     5
 * @author Maurizio Cimadamore
26901
2c11dc81a5c8 8055783: Group 9e: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     6
 * @compile/fail/ref=T6663588.out -XDrawDiagnostics T6663588.java
165
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     7
 */
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     8
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
     9
public class T6663588<T extends T6663588.Inner> extends T6663588 {
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
    10
     class Inner extends T6663588.Inner {}
1875ac59896a 6663588: Compiler goes into infinite loop for Cyclic Inheritance test case
mcimadamore
parents:
diff changeset
    11
}