Community
Participate
Working Groups
Writing a new annotation, a wrong error description is displayed when using invalid modifiers. For example: private @interface TestAnnot { } leads to the following marker description: "Illegal modifier for the member annotation type TestAnnot; only public, protected, private, static & abstract are permitted" In fact, the compiler only allows public and abstract. The description should look the same as for the enum type: "Illegal modifier for the annotation TestAnnot; only public & abstract are permitted"
Annotation are not supported yet.
Error message got corrected.
Added regression test: AnnotationTest#test076. Fixed
Verified in 200412140800