test/tools/javac/annotations/pos/TrailingComma.java

changeset 634
27bae58329d5
parent 554
9d9f26857129
child 798
4868a36f6fd8
equal deleted inserted replaced
633:c04ae2714f52 634:27bae58329d5
34 @interface TestAnnotation { 34 @interface TestAnnotation {
35 SuppressWarnings[] value() default {@SuppressWarnings({"",})}; 35 SuppressWarnings[] value() default {@SuppressWarnings({"",})};
36 } 36 }
37 37
38 38
39 @TestAnnotation({@SuppressWarnings(), 39 @TestAnnotation({@SuppressWarnings({}),
40 @SuppressWarnings({"Beware the ides of March.",}), 40 @SuppressWarnings({"Beware the ides of March.",}),
41 @SuppressWarnings({"Look both ways", "Before Crossing",}), }) 41 @SuppressWarnings({"Look both ways", "Before Crossing",}), })
42 public class TrailingComma { 42 public class TrailingComma {
43 } 43 }

mercurial