Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 366211

Summary: JAXBMarshaller -Compare class not classname of datahandler
Product: z_Archived Reporter: Denise Smith <denise.mahar>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: blaise.doughan, eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Proposed changes
none
TypeMappingInfo patch
none
TypeMappingInfo patch none

Description Denise Smith CLA 2011-12-09 10:45:14 EST
In wrapObjectInXMLRoot(JAXBElement wrapperElement, Object value) there is a check to see if the class is DataHandler and this is done by class name but should just check the class.
Comment 1 Denise Smith CLA 2011-12-09 11:22:28 EST
Created attachment 208177 [details]
Proposed changes
Comment 2 Denise Smith CLA 2012-06-25 13:55:09 EDT
Instead of  the checks instead the TypeMappingINfo could know about it's schemaType and that could be used.  See TypeMappingInfo patch
Comment 3 Denise Smith CLA 2012-06-25 13:55:44 EDT
Created attachment 217825 [details]
TypeMappingInfo patch
Comment 4 Denise Smith CLA 2012-06-26 14:35:02 EDT
Created attachment 217894 [details]
TypeMappingInfo patch
Comment 5 Denise Smith CLA 2012-06-26 15:05:55 EDT
Attached patch checked in to trunk (rev 11729)
Comment 6 Denise Smith CLA 2012-06-29 16:26:11 EDT
Checked in to 2.4 (rev 11769)
Comment 7 Denise Smith CLA 2012-07-04 14:19:56 EDT
Checked in to 2.3 (rev 11788)
Comment 8 Eclipse Webmaster CLA 2022-06-09 10:31:20 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink