Lines Matching refs:ExtendsAccess

6  * @compile/fail/ref=ExtendsAccess.out -XDrawDiagnostics ExtendsAccess.java
13 class ExtendsAccess {
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.protectedClass { } // ERROR - cannot access 'protectedClass'
44 class ExtendsAccess1242 extends p.ExtendsAccess.privateClass { } // ERROR - cannot access 'privateClass'
46 class ExtendsAccess1311 extends ExtendsAccess {
49 class ExtendsAccess1321 extends ExtendsAccess {
52 class ExtendsAccess1331 extends ExtendsAccess {
55 class ExtendsAccess1341 extends ExtendsAccess {
59 class ExtendsAccess1312 extends p.ExtendsAccess {
62 class ExtendsAccess1322 extends p.ExtendsAccess {
65 class ExtendsAccess1332 extends p.ExtendsAccess {
68 class ExtendsAccess1342 extends p.ExtendsAccess {
72 class ExtendsAccess1411 extends ExtendsAccess {
73 class N extends ExtendsAccess.publicClass { }
75 class ExtendsAccess1421 extends ExtendsAccess {
76 class N extends ExtendsAccess.defaultClass { }
78 class ExtendsAccess1431 extends ExtendsAccess {
79 class N extends ExtendsAccess.protectedClass { }
81 class ExtendsAccess1441 extends ExtendsAccess {
84 class ExtendsAccess1451 extends ExtendsAccess {
85 class N extends ExtendsAccess.privateClass { } // ERROR - cannot access 'privateClass'
88 class ExtendsAccess1412 extends p.ExtendsAccess {
89 class N extends p.ExtendsAccess.publicClass { }
91 class ExtendsAccess1422 extends p.ExtendsAccess {
92 class N extends p.ExtendsAccess.defaultClass { } // ERROR - cannot access 'defaultClass'
94 class ExtendsAccess1432 extends p.ExtendsAccess {
95 class N extends p.ExtendsAccess.protectedClass { } // OK (was: should be error, see JLS 6.6.2)
97 class ExtendsAccess1442 extends p.ExtendsAccess {
100 class ExtendsAccess1452 extends p.ExtendsAccess {
101 class N extends p.ExtendsAccess.privateClass { } // ERROR - cannot access 'privateClass'
109 class ExtendsAccess2211 extends ExtendsAccess.publicStaticClass { }
110 class ExtendsAccess2221 extends ExtendsAccess.defaultStaticClass { }
111 class ExtendsAccess2231 extends ExtendsAccess.protectedStaticClass { }
112 class ExtendsAccess2241 extends ExtendsAccess.privateStaticClass { } // ERROR - cannot access 'privateStaticClass'
114 class ExtendsAccess2212 extends p.ExtendsAccess.publicStaticClass { }
115 class ExtendsAccess2222 extends p.ExtendsAccess.defaultStaticClass { } // ERROR - cannot access 'defaultStaticClass'
116 class ExtendsAccess2232 extends p.ExtendsAccess.protectedStaticClass { }// ERROR - cannot access 'protectedStaticClass'
117 class ExtendsAccess2242 extends p.ExtendsAccess.privateStaticClass { } // ERROR - cannot access 'privateStaticClass'
119 class ExtendsAccess2311 extends ExtendsAccess {
122 class ExtendsAccess2321 extends ExtendsAccess {
125 class ExtendsAccess2331 extends ExtendsAccess {
128 class ExtendsAccess2341 extends ExtendsAccess {
132 class ExtendsAccess2312 extends p.ExtendsAccess {
135 class ExtendsAccess2322 extends p.ExtendsAccess {
138 class ExtendsAccess2332 extends p.ExtendsAccess {
141 class ExtendsAccess2342 extends p.ExtendsAccess {
145 class ExtendsAccess2411 extends ExtendsAccess {
146 class N extends ExtendsAccess.publicStaticClass { }
148 class ExtendsAccess2421 extends ExtendsAccess {
149 class N extends ExtendsAccess.defaultStaticClass { }
151 class ExtendsAccess2431 extends ExtendsAccess {
152 class N extends ExtendsAccess.protectedStaticClass { } // OK (was should be error, see JLS 6.6.2)
154 class ExtendsAccess2441 extends ExtendsAccess {
157 class ExtendsAccess2451 extends ExtendsAccess {
158 class N extends ExtendsAccess.privateStaticClass { } // ERROR - cannot access 'privateStaticClass'
161 class ExtendsAccess2412 extends p.ExtendsAccess {
162 class N extends p.ExtendsAccess.publicStaticClass { }
164 class ExtendsAccess2422 extends p.ExtendsAccess {
165 class N extends p.ExtendsAccess.defaultStaticClass { } // ERROR - cannot access 'defaultStaticClass'
167 class ExtendsAccess2432 extends p.ExtendsAccess {
168 class N extends p.ExtendsAccess.protectedStaticClass { } // OK (was: should be error, see JLS 6.6.2)
170 class ExtendsAccess2442 extends p.ExtendsAccess {
173 class ExtendsAccess2452 extends p.ExtendsAccess {
174 class N extends p.ExtendsAccess.privateStaticClass { } // ERROR - cannot access 'privateStaticClass'
177 class ExtendsAccess311 extends ExtendsAccess implements publicInterface { } // ERROR - 'publicInterface' not in scope
178 class ExtendsAccess312 extends ExtendsAccess implements defaultInterface { } // ERROR - 'defaultInterface' not in scope
179 class ExtendsAccess313 extends ExtendsAccess implements protectedInterface { } // ERROR - 'protectedInterface' not in scope
180 class ExtendsAccess314 extends ExtendsAccess implements privateInterface { } // ERROR - 'privateInterface' not in scope
182 class ExtendsAccess3211 extends ExtendsAccess implements ExtendsAccess.publicInterface { }
183 class ExtendsAccess3221 extends ExtendsAccess implements ExtendsAccess.defaultInterface { }
184 class ExtendsAccess3231 extends ExtendsAccess implements ExtendsAccess.protectedInterface { }
185 class ExtendsAccess3241 extends ExtendsAccess
186 implements ExtendsAccess.privateInterface { } // ERROR - cannot access 'privateInterface'
188 class ExtendsAccess3212 extends ExtendsAccess
189 implements p.ExtendsAccess.publicInterface { }
190 class ExtendsAccess3222 extends ExtendsAccess
191 implements p.ExtendsAccess.defaultInterface { } // ERROR - cannot access 'defaultStaticClass'
192 class ExtendsAccess3232 extends ExtendsAccess
193 implements p.ExtendsAccess.protectedInterface { } // ERROR - cannot access 'protectedStaticClass'
194 class ExtendsAccess3242 extends ExtendsAccess
195 implements p.ExtendsAccess.privateInterface { } // ERROR - cannot access 'privateInterface'
197 class ExtendsAccess331 extends ExtendsAccess {
200 class ExtendsAccess3321 extends ExtendsAccess {
203 class ExtendsAccess3331 extends ExtendsAccess {
206 class ExtendsAccess3341 extends ExtendsAccess {
210 class ExtendsAccess3312 extends p.ExtendsAccess {
213 class ExtendsAccess3322 extends p.ExtendsAccess {
216 class ExtendsAccess3332 extends p.ExtendsAccess {
219 class ExtendsAccess3342 extends p.ExtendsAccess {
223 class ExtendsAccess341 extends ExtendsAccess {
224 class N implements ExtendsAccess.publicInterface { }
226 class ExtendsAccess3421 extends ExtendsAccess {
227 class N implements ExtendsAccess.defaultInterface { }
229 class ExtendsAccess3431 extends ExtendsAccess {
230 class N implements ExtendsAccess.protectedInterface { } // OK (was: should be error, see JLS 6.2.2)
232 class ExtendsAccess3441 extends ExtendsAccess {
235 class ExtendsAccess3451 extends ExtendsAccess {
236 class N implements ExtendsAccess.privateInterface { } // ERROR - cannot access 'privateInterface'
239 class ExtendsAccess342 extends p.ExtendsAccess {
240 class N implements p.ExtendsAccess.publicInterface { }
242 class ExtendsAccess3422 extends p.ExtendsAccess {
243 class N implements p.ExtendsAccess.defaultInterface { } // ERROR - cannot access 'defaultClass'
245 class ExtendsAccess3432 extends p.ExtendsAccess {
246 class N implements p.ExtendsAccess.protectedInterface { } // OK (was: should be error, see JLS 6.2.2)
248 class ExtendsAccess3442 extends p.ExtendsAccess {
251 class ExtendsAccess3452 extends p.ExtendsAccess {
252 class N implements p.ExtendsAccess.privateInterface { } // ERROR - cannot access 'privateInterface'