Community
Participate
Working Groups
In JAXB a property of type byte[] or a root level byte[] indicates binary data which is mapped to an element or attribute of type base64Binary. Currently EclipseLink treats Byte[] in the same way, mapping it to a base64Binary element and treating it as a possible attachment. However Byte[] should be treated as a list of bytes, and be mapped like an Integer[] or any other primitive wrapper type. This discrepancy is causing failures in the JAX-WS TCK when run with EclipseLink as the JAXB provider.
Created attachment 187863 [details] Proposed Fix and Tests
Attached patch checked in to SVN Reviewed by Blaise Doughan
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink