jdk-24/langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_2.out
2007-12-01 00:00:00 +00:00

20 lines
942 B
Plaintext

QualifiedAccess_2.java:38: A.B has private access in A
class C extends A.B {} // ERROR - B is inaccessible
^
QualifiedAccess_2.java:39: A.B has private access in A
class D extends A.B.Inner {} // ERROR - B is inaccessible
^
QualifiedAccess_2.java:43: pack1.P1.Foo is not public in pack1.P1; cannot be accessed from outside package
P1.Foo.Bar x; // ERROR - Foo is inaccessible
^
QualifiedAccess_2.java:50: Y.Quux.Quem has private access in Y.Quux
void foo() throws Y.Quux.Quem.MyError {
^
QualifiedAccess_2.java:28: pack1.P1.R.S has private access in pack1.P1.R
Object z = new R.S.T(); // ERROR - S is inaccessible
^
QualifiedAccess_2.java:52: Y.Quux.Quem has private access in Y.Quux
throw new Y.Quux.Quem.MyError();
^
6 errors