| Summary: | Dynamic JAXB - Problem with List Properties | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Blaise Doughan <blaise.doughan> | ||||||||||
| Component: | Eclipselink | Assignee: | Blaise Doughan <blaise.doughan> | ||||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | eclipselink.oxm-inbox | ||||||||||
| Version: | unspecified | ||||||||||||
| Target Milestone: | --- | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Windows XP | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Blaise Doughan
Created attachment 172251 [details]
MOXy - Test Cases
Created attachment 172252 [details]
MOXy - Fix
Created attachment 172253 [details]
Dynamic MOXy - Fix
Created attachment 172537 [details]
Dynamic MOXy - Fix
Fix checked into trunk at rev: 7675
Fix checked into 2.1.1 at rev: 7674
1. In AnnotationsProcessor account for the fact that a classes super class may be null. This offered better performance than setting the super class to a wrapped version of Object which would then be ignored anyways.
2. When a class has multiple List properties List<Address>, List<Phone>, List<Address> and you ask XJC for the generic parameter for the first property you will get {Address}, for the second parameter you will get {Address, Phone}, and for the third property you will get {Address, Phone, Address}. Now the last parameter is assumed to be the type of the list instead of the first.
Code reviewed by: Matt MacIvor
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |