test/tools/javac/CyclicInheritance.out

Tue, 04 Mar 2008 15:19:06 +0000

author
mcimadamore
date
Tue, 04 Mar 2008 15:19:06 +0000
changeset 7
d472e2fbcc39
parent 1
9a66ca7c79fa
child 69
82c7aa6fe50a
permissions
-rw-r--r--

6608214: Exception throw while analysing a file with error
Summary: bad error-recovery after bad type-variable bound is detected
Reviewed-by: jjg

duke@1 1 CyclicInheritance.java:15: cyclic inheritance involving C1
duke@1 2 class C1 extends C1 {} // ERROR - Cyclic inheritance
duke@1 3 ^
duke@1 4 CyclicInheritance.java:17: cyclic inheritance involving C11
duke@1 5 class C11 extends C12 {} // ERROR - Cyclic inheritance
duke@1 6 ^
duke@1 7 CyclicInheritance.java:20: cyclic inheritance involving I1
duke@1 8 interface I1 extends I1 {} // ERROR - Cyclic inheritance
duke@1 9 ^
duke@1 10 CyclicInheritance.java:22: cyclic inheritance involving I11
duke@1 11 interface I11 extends I12 {} // ERROR - Cyclic inheritance
duke@1 12 ^
duke@1 13 CyclicInheritance.java:27: cyclic inheritance involving C211
duke@1 14 class C211 implements C211.I { // ERROR - may change pending resoluation of 4087020
duke@1 15 ^
duke@1 16 CyclicInheritance.java:31: cyclic inheritance involving C212
duke@1 17 class C212 extends C212.C { // ERROR - Cyclic inheritance, subclass cannot enclose superclass
duke@1 18 ^
duke@1 19 CyclicInheritance.java:36: C221.I has private access in C221
duke@1 20 class C221 implements C221.I { // ERROR - Cannot access C21 (private)
duke@1 21 ^
duke@1 22 CyclicInheritance.java:40: C222.C has private access in C222
duke@1 23 class C222 extends C222.C { // ERROR - Cannot access C22 (private)
duke@1 24 ^
duke@1 25 8 errors

mercurial