IDEA-68179 (Javac quirks inspection)

This commit is contained in:
Roman Shevchenko
2011-04-17 17:53:00 +02:00
parent ef1ca05563
commit 847ad86feb
8 changed files with 121 additions and 5 deletions

View File

@@ -0,0 +1,8 @@
class C {
@interface TestAnnotation {
int[] value();
}
@TestAnnotation({0, 1<warning descr="Trailing comma in annotation array initializer may cause compilation error in some Javac versions (e.g. JDK 5 and JDK 6).">,</warning>})
void m() { }
}