langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_1.out
changeset 10 06bc494ca11e
child 863 3113c955a388
equal deleted inserted replaced
0:fd16c54261b3 10:06bc494ca11e
       
     1 QualifiedAccess_1.java:22: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
     2     P1.P3 bar;                                  // ERROR
       
     3       ^
       
     4 QualifiedAccess_1.java:23: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
     5     P1.P3.P4 baz;                               // ERROR
       
     6       ^
       
     7 QualifiedAccess_1.java:24: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
     8     P1.P3.P4.P5 quux;                           // ERROR
       
     9       ^
       
    10 QualifiedAccess_1.java:27: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    11     P1.P3 m12() {return null;}                  // ERROR
       
    12       ^
       
    13 QualifiedAccess_1.java:28: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    14     P1.P3.P4 m13() {return null;}               // ERROR
       
    15       ^
       
    16 QualifiedAccess_1.java:29: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    17     P1.P3.P4.P5 m14() {return null;}            // ERROR
       
    18       ^
       
    19 QualifiedAccess_1.java:32: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    20     void m22(P1.P3 x) {}                        // ERROR
       
    21                ^
       
    22 QualifiedAccess_1.java:33: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    23     void m23(P1.P3.P4 x) {}                     // ERROR
       
    24                ^
       
    25 QualifiedAccess_1.java:34: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    26     void m24(P1.P3.P4.P5 x) {}                  // ERROR
       
    27                ^
       
    28 QualifiedAccess_1.java:44: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    29         P1.P3 bar = null;                       // ERROR
       
    30           ^
       
    31 QualifiedAccess_1.java:45: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    32         P1.P3.P4 baz = null;                    // ERROR
       
    33           ^
       
    34 QualifiedAccess_1.java:46: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    35         P1.P3.P4.P5 quux = null;                // ERROR
       
    36           ^
       
    37 QualifiedAccess_1.java:57: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    38         Object bar = (P1.P3)null;               // ERROR
       
    39                         ^
       
    40 QualifiedAccess_1.java:58: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    41         Object baz = (P1.P3.P4)null;            // ERROR
       
    42                         ^
       
    43 QualifiedAccess_1.java:59: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    44         Object quux = (P1.P3.P4.P5)null;        // ERROR
       
    45                          ^
       
    46 QualifiedAccess_1.java:70: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    47         boolean bar = null instanceof P1.P3;            // ERROR
       
    48                                         ^
       
    49 QualifiedAccess_1.java:71: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    50         boolean baz = null instanceof P1.P3.P4;         // ERROR
       
    51                                         ^
       
    52 QualifiedAccess_1.java:72: pack1.P1.P3 is not public in pack1.P1; cannot be accessed from outside package
       
    53         boolean quux = null instanceof P1.P3.P4.P5;     // ERROR
       
    54                                          ^
       
    55 18 errors