------- Comment #1 from nils dot de dot reus at ivm dot vu dot nl 2009-01-14 20:44 -------
It is a bit further removed from the real life situation I am dealing with, but to make testing easier I've moved it all into one file so you don't need to bother with importing or package structure. // ------------------------- Test.java ------------------------------- import java.lang.annotation.*; @Retention(RetentionPolicy.RUNTIME) @interface TestAnnotation { String eggs() default ""; int spam() default 0; boolean foo() default false; }; @TestAnnotation(eggs = "yolk", spam = 5, foo = true) public class Test { static final int bar = 1; }; // ------------------------------------------------------------------- -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38840