langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_2.out
changeset 10 06bc494ca11e
child 863 3113c955a388
equal deleted inserted replaced
0:fd16c54261b3 10:06bc494ca11e
       
     1 QualifiedAccess_2.java:38: A.B has private access in A
       
     2     class C extends A.B {}              // ERROR - B is inaccessible
       
     3                      ^
       
     4 QualifiedAccess_2.java:39: A.B has private access in A
       
     5     class D extends A.B.Inner {}        // ERROR - B is inaccessible
       
     6                      ^
       
     7 QualifiedAccess_2.java:43: pack1.P1.Foo is not public in pack1.P1; cannot be accessed from outside package
       
     8             P1.Foo.Bar x;               // ERROR - Foo is inaccessible
       
     9               ^
       
    10 QualifiedAccess_2.java:50: Y.Quux.Quem has private access in Y.Quux
       
    11     void foo() throws Y.Quux.Quem.MyError {
       
    12                             ^
       
    13 QualifiedAccess_2.java:28: pack1.P1.R.S has private access in pack1.P1.R
       
    14         Object z = new R.S.T();         // ERROR - S is inaccessible
       
    15                         ^
       
    16 QualifiedAccess_2.java:52: Y.Quux.Quem has private access in Y.Quux
       
    17         throw new Y.Quux.Quem.MyError();
       
    18                         ^
       
    19 6 errors