test/tools/javac/CyclicInheritance.out

Tue, 03 Jun 2008 13:26:47 -0700

author
jjg
date
Tue, 03 Jun 2008 13:26:47 -0700
changeset 46
7708bd6d800d
parent 1
9a66ca7c79fa
child 69
82c7aa6fe50a
permissions
-rw-r--r--

4075303: Use javap to enquire aboput a specific inner class
4348375: Javap is not internationalized
4459541: "javap -l" shows line numbers as signed short; they should be unsigned
4501660: change diagnostic of -help as 'print this help message and exit'
4776241: unused source file in javap...
4870651: javap should recognize generics, varargs, enum
4876942: javap invoked without args does not print help screen
4880663: javap could output whitespace between class name and opening brace
4975569: javap doesn't print new flag bits
6271787: javap dumps LocalVariableTypeTable attribute in hex, needs to print a table
6305779: javap: support annotations
6439940: Clean up javap implementation
6469569: wrong check of searchpath in JavapEnvironment
6474890: javap does not open .zip files in -classpath
6587786: Javap throws error : "ERROR:Could not find <classname>" for JRE classes
6622215: javap ignores certain relevant access flags
6622216: javap names some attributes incorrectly
6622232: javap gets whitespace confused
6622260: javap prints negative bytes incorrectly in hex
Reviewed-by: ksrini

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

mercurial