test/langtools/tools/javac/T6663588.java
author darcy
Wed, 27 Jun 2018 21:01:12 -0700
changeset 50892 a5557f24b4d4
parent 47216 71c04702a3d5
permissions -rw-r--r--
8205615: Start of release updates for JDK 12 8205621: Increment JDK version for JDK 12 8193292: Add SourceVersion.RELEASE_12 8193290: Add source 12 and target 12 to javac 8205619: Bump maximum recognized class file version to 56 for JDK 12 Reviewed-by: alanb, smarks, jjg, mr, erikj, psandoz, dholmes Contributed-by: erik.joelsson@oracle.com, mikael.vidstedt@oracle.com, joe.darcy@oracle.com
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
}