langtools/test/tools/javac/ClassCycle/ClassCycle1a.java
author sogoel
Fri, 15 May 2015 01:09:51 -0700
changeset 30713 4a01965154be
parent 5520 86e4b9a9da40
permissions -rw-r--r--
8068464: Group 10d: golden files for tests in tools/javac dir Reviewed-by: jjg
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
/*
30713
4a01965154be 8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     2
 * @test /nodynamiccopyright/
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
 * @bug 4500240
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
 * @summary javac throws StackOverflowError for recursive inheritance
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
 *
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
 * @compile ClassCycle1a.java
30713
4a01965154be 8068464: Group 10d: golden files for tests in tools/javac dir
sogoel
parents: 5520
diff changeset
     7
 * @compile/fail/ref=ClassCycle1a.out -XDrawDiagnostics  ClassCycle1b.java
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
 */
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
interface ClassCycle1b {}
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
interface ClassCycle1a extends ClassCycle1b {}