changeset 29293 | 1583c6dd6df7 |
29292:c10d63c667cd | 29293:1583c6dd6df7 |
---|---|
1 /* @test /nodynamiccopyright/ |
|
2 * @bug 8071453 |
|
3 * @author sadayapalam |
|
4 * @summary Test that annotations types cannot declare private methods |
|
5 * @compile/fail/ref=Private07.out -XDrawDiagnostics Private07.java |
|
6 */ |
|
7 |
|
8 @interface Private07 { |
|
9 private String name(); |
|
10 } |