Community
Participate
Working Groups
Create a context from an enumeration class. Wrap the enum in a JAXBElement and try to marshal. EclipseLink will fail to marshal due to a missing descriptor for the enumeration class. EclipseLink needs to generate a wrapper class for all enumerations in order to handle them as root-level objects wrapped in JAXB Element. This can be triggered using a similar mechanism to what's used for binary types (byte[] etc).
Created attachment 187230 [details] proposed fix and test case
Attached patch checked in to SVN
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink