Sat, 22 Dec 2018 13:10:38 -0800
Added tag jdk8u202-b25 for changeset 15d8c732039b
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 5003235 |
duke@1 | 4 | * @summary Access to private inner classes |
duke@1 | 5 | * @author Peter von der Ah\u00e9 |
jjg@611 | 6 | * @compile/fail/ref=T5003235c.out -XDrawDiagnostics T5003235c.java |
duke@1 | 7 | */ |
duke@1 | 8 | |
duke@1 | 9 | class T5003235c { |
duke@1 | 10 | private static class B { |
duke@1 | 11 | static class Inner {} |
duke@1 | 12 | } |
duke@1 | 13 | } |
duke@1 | 14 | |
duke@1 | 15 | class C extends T5003235c.B.Inner {} |