mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
11 lines
322 B
Java
11 lines
322 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6393539
|
|
* @summary no compile-time error for clone, etc. in annotation type
|
|
* @author Peter von der Ah\u00e9
|
|
* @compile/fail/ref=NoAnnotationMethods.out -XDrawDiagnostics NoAnnotationMethods.java
|
|
*/
|
|
|
|
public @interface NoAnnotationMethods {
|
|
int annotationType();
|
|
}
|