What steps will reproduce the problem?
1. Compile DumperTestClass with any Java 6 compiler (Eclipse 3.6 JDT will do)
2. Observe the 'cyclic annotation' error
Eclipse JDT compiler error message:
Cycle detected: the annotation type DumperTestClass<T,X>.AnnotationTest cannot
contain attributes of the annotation type itself
Cyclic annotations are indeed illegal (the new JDT has a testcase for that),
but older compilers did not catch that problem. This prevents compiling and
deploying the latest trunk version with Maven.
Original issue reported on code.google.com by wutt...@gmail.com on 21 Apr 2011 at 1:16
Original issue reported on code.google.com by
wutt...@gmail.com
on 21 Apr 2011 at 1:16