langtools/test/tools/javac/CyclicInheritance.out
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
CyclicInheritance.java:15: cyclic inheritance involving C1
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
class C1 extends C1 {}                  // ERROR - Cyclic inheritance
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
^
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
CyclicInheritance.java:17: cyclic inheritance involving C11
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
class C11 extends C12 {}                // ERROR - Cyclic inheritance
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
^
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
CyclicInheritance.java:20: cyclic inheritance involving I1
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
interface I1 extends I1 {}              // ERROR - Cyclic inheritance
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
^
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
CyclicInheritance.java:22: cyclic inheritance involving I11
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
interface I11 extends I12 {}            // ERROR - Cyclic inheritance
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
^
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
CyclicInheritance.java:27: cyclic inheritance involving C211
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
class C211 implements C211.I {          // ERROR - may change pending resoluation of 4087020
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
^
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
CyclicInheritance.java:31: cyclic inheritance involving C212
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
class C212 extends C212.C {             // ERROR - Cyclic inheritance, subclass cannot enclose superclass
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
^
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
CyclicInheritance.java:36: C221.I has private access in C221
06bc494ca11e Initial load
duke
parents:
diff changeset
    20
class C221 implements C221.I {          // ERROR - Cannot access C21 (private)
06bc494ca11e Initial load
duke
parents:
diff changeset
    21
                          ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    22
CyclicInheritance.java:40: C222.C has private access in C222
06bc494ca11e Initial load
duke
parents:
diff changeset
    23
class C222 extends C222.C {             // ERROR - Cannot access C22 (private)
06bc494ca11e Initial load
duke
parents:
diff changeset
    24
                       ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    25
8 errors