langtools/test/tools/javac/QualifiedAccess/QualifiedAccess_2.out
author never
Mon, 31 Mar 2008 16:22:52 -0700 (2008-03-31)
changeset 254 717d75d80a30
parent 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts Summary: incorrect encoding Reviewed-by: kvn, rasbold, sgoldman, jrose
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
QualifiedAccess_2.java:38: A.B has private access in A
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
    class C extends A.B {}              // ERROR - B is inaccessible
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
                     ^
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
QualifiedAccess_2.java:39: A.B has private access in A
06bc494ca11e Initial load
duke
parents:
diff changeset
     5
    class D extends A.B.Inner {}        // ERROR - B is inaccessible
06bc494ca11e Initial load
duke
parents:
diff changeset
     6
                     ^
06bc494ca11e Initial load
duke
parents:
diff changeset
     7
QualifiedAccess_2.java:43: pack1.P1.Foo is not public in pack1.P1; cannot be accessed from outside package
06bc494ca11e Initial load
duke
parents:
diff changeset
     8
            P1.Foo.Bar x;               // ERROR - Foo is inaccessible
06bc494ca11e Initial load
duke
parents:
diff changeset
     9
              ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    10
QualifiedAccess_2.java:50: Y.Quux.Quem has private access in Y.Quux
06bc494ca11e Initial load
duke
parents:
diff changeset
    11
    void foo() throws Y.Quux.Quem.MyError {
06bc494ca11e Initial load
duke
parents:
diff changeset
    12
                            ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    13
QualifiedAccess_2.java:28: pack1.P1.R.S has private access in pack1.P1.R
06bc494ca11e Initial load
duke
parents:
diff changeset
    14
        Object z = new R.S.T();         // ERROR - S is inaccessible
06bc494ca11e Initial load
duke
parents:
diff changeset
    15
                        ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    16
QualifiedAccess_2.java:52: Y.Quux.Quem has private access in Y.Quux
06bc494ca11e Initial load
duke
parents:
diff changeset
    17
        throw new Y.Quux.Quem.MyError();
06bc494ca11e Initial load
duke
parents:
diff changeset
    18
                        ^
06bc494ca11e Initial load
duke
parents:
diff changeset
    19
6 errors