| Summary: | JAXB: Issues with array types and reference properties | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | David McCann <david.mccann> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | ||||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
David McCann
The following TCK exception will be thrown in the JAXBElement array case for xml-element-refs: Exception Description: The object [javax.xml.bind.JAXBElement[]], of class [class java.lang.String], could not be converted to [class java.lang.Class]. Ensure that the class [javax.xml.bind.JAXBElement[]] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager Internal Exception: java.lang.ClassNotFoundException: javax/xml/bind/JAXBElement[] Created attachment 183787 [details]
Proposed fix
Created attachment 183788 [details]
Supporting tests
Reviewed by: matt.macivor@oracle.com Tests: all unit tests pass as expected; jaxb/externalizedmetadata/xmlelementrefs/XmlElementRefsTestCases Revision: 8556 The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |