test/tools/javac/typeAnnotations/failures/common/typeparams/DuplicateAnnotationValue.java

changeset 479
da0e3e2dd3ef
parent 384
ed31953ca025
equal deleted inserted replaced
478:0eaf89e08564 479:da0e3e2dd3ef
1 /* 1 /*
2 * @test /nodynamiccopyright/ 2 * @test /nodynamiccopyright/
3 * @bug 6843077 3 * @bug 6843077 6919944
4 * @summary check for duplicate annotation values for type parameter 4 * @summary check for duplicate annotation values for type parameter
5 * @author Mahmood Ali 5 * @author Mahmood Ali
6 * @compile/fail/ref=DuplicateAnnotationValue.out -XDrawDiagnostics -source 1.7 DuplicateAnnotationValue.java 6 * @compile/fail/ref=DuplicateAnnotationValue.out -XDrawDiagnostics -source 1.7 DuplicateAnnotationValue.java
7 */ 7 */
8 class DuplicateAnnotationValue<@A(value = 2, value = 1) K> { 8 class DuplicateAnnotationValue<@A(value = 2, value = 1) K> {

mercurial