test/tools/javac/diags/examples/AnnotationDuplicateElement.java
Print this page
@@ -19,13 +19,13 @@
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
-// key: compiler.err.duplicate.annotation.member.value
+// key: compiler.err.annotation.duplicate.element
@interface Anno {
int value();
}
@Anno(value=1, value=2)
-class DuplicateAnnotationMemberValue { }
+class AnnotationDuplicateElement { }