jjg@309: /* jjg@384: * @test /nodynamiccopyright/ jjg@309: * @bug 6843077 jjg@309: * @summary check for duplicate annotation values for type parameter jjg@309: * @author Mahmood Ali jjg@309: * @compile/fail/ref=DuplicateAnnotationValue.out -XDrawDiagnostics -source 1.7 DuplicateAnnotationValue.java jjg@309: */ jjg@309: class DuplicateAnnotationValue { jjg@309: DuplicateAnnotationValue<@A(value = 2, value = 1) String> l; jjg@309: } jjg@309: jjg@309: @interface A { int value(); }