author | sogoel |
Tue, 12 Aug 2014 17:31:31 -0700 | |
changeset 26095 | 8062f96d3ced |
parent 5520 | 86e4b9a9da40 |
permissions | -rw-r--r-- |
10 | 1 |
/* |
26095
8062f96d3ced
8049127: Group 8b - golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
2 |
* @test /nodynamiccopyright/ |
10 | 3 |
* @bug 6393539 |
4 |
* @summary no compile-time error for clone, etc. in annotation type |
|
5 |
* @author Peter von der Ah\u00e9 |
|
26095
8062f96d3ced
8049127: Group 8b - golden files for annotations test in tools/java dir
sogoel
parents:
5520
diff
changeset
|
6 |
* @compile/fail/ref=NoClone.out -XDrawDiagnostics NoClone.java |
10 | 7 |
*/ |
8 |
||
9 |
public @interface NoClone { |
|
10 |
Object clone(); |
|
11 |
} |