sourish-rygbee / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

DumperTestClass does not compile with Java 6 compilers #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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