Community
Participate
Working Groups
Assuming a class has a java attribute of type List<String> and an XmlJavaTypeAdapter annotation that converts that List<String> to a single String on marshal, EclipseLink JAXB will unmarshal the value incorrectly. This is because during processing the type isn't being correctly set on the property due to an incorrect assumption that an XmlJavaTypeAdapter on a Collection property is intended to always only apply to the elements of the collection and not the collection as a whole. This should be changed to be dependent value type of the Adapter.
Created attachment 179389 [details] proposed fix and test case
Fix checked into SVN in the 2.2 and 2.1 streams
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink