Summary: | @Retention(RetentionPolicy.RUNTIME) is ignored for annotations | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Constantine Plotnikov <cap> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=427745 | ||
Whiteboard: |
Description
Constantine Plotnikov
2004-12-02 10:19:19 EST
Meta-annotations are not supported yet. For now, all annotations are generated with the default retention policy which is CLASS. They end up as RuntimeInvisibleAnnotations in the .class file. *** Bug 80012 has been marked as a duplicate of this bug. *** I suggest making all annotations runtime visible in the next integration version by default if support for meta-annotations is not planned for it yet. If it is done, annotations will become usable for tools that need annotations on the classes in runtime until they are completely supported. Fixed and released in HEAD. Regression tests added AnnotationTest.test079-test084. *** Bug 80010 has been marked as a duplicate of this bug. *** Verified for 3.1 M4 using build I200412142000. |