| Summary: | Annotations are silently skipped when field also has an annotation with RetentionPolicy.CLASS | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Hans Harz <hansharz_bugzilla> |
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P2 | CC: | andrew, douglas.clarke, guy.pelletier, joesbigidea, lhunath, tom.ware |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | asm | ||
|
Description
Hans Harz
See also Bug 324862 https://bugs.eclipse.org/bugs/show_bug.cgi?id=324862. Which contains a patch that probably will also fix this problem. Setting target and priority. See the following page for details of the meanings of these fields: http://wiki.eclipse.org/EclipseLink/Development/Bugs/Guidelines This can happen with any additional attributes on a member, we encountered it with aspectj method line number attributes. MetadataAsmFactory.addAnnotations is assuming the runtime annotations are going to be the first Attribute, but they can appear anywhere in the list. It needs to run through all the Attributes and add any RuntimeVisibleAnnotations that appear This issue is a duplicate of 304602, just manifesting itself in a different situation. Also see bug id 324862. This appears to be the same issue. I am posting our version of the fix there. *** Bug 330650 has been marked as a duplicate of this bug. *** Duplicate bug which has now been resolved. *** This bug has been marked as a duplicate of bug 304602 *** The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |