Searched refs:ExtendsAccess (Results 1 - 2 of 2) sorted by relevance

/openjdk7/langtools/test/tools/javac/ExtendsAccess/
H A DExtendsAccess.java6 * @compile/fail/ref=ExtendsAccess.out -XDrawDiagnostics ExtendsAccess.java
13 class ExtendsAccess { class
36 class ExtendsAccess1211 extends ExtendsAccess.publicClass { } // OK - can extend inner classes (was ERROR - no enclosing instance)
37 class ExtendsAccess1221 extends ExtendsAccess.defaultClass { } // OK - can extend inner classes (was ERROR - no enclosing instance)
38 class ExtendsAccess1231 extends ExtendsAccess.protectedClass { } // OK - can extend inner classes (was ERROR - no enclosing instance)
39 class ExtendsAccess1241 extends ExtendsAccess.privateClass { } // ERROR - cannot access 'privateClass'
41 class ExtendsAccess1212 extends p.ExtendsAccess.publicClass { } // OK - can extend inner classes (was ERROR - no enclosing instance)
42 class ExtendsAccess1222 extends p.ExtendsAccess.defaultClass { } // ERROR - cannot access 'defaultClass'
43 class ExtendsAccess1232 extends p.ExtendsAccess
[all...]
/openjdk7/langtools/test/tools/javac/ExtendsAccess/p/
H A DExtendsAccess.java32 public class ExtendsAccess { class

Completed in 24 milliseconds