Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366211 - JAXBMarshaller -Compare class not classname of datahandler
Summary: JAXBMarshaller -Compare class not classname of datahandler
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-09 10:45 EST by Denise Smith CLA
Modified: 2022-06-09 10:31 EDT (History)
2 users (show)

See Also:


Attachments
Proposed changes (2.70 KB, patch)
2011-12-09 11:22 EST, Denise Smith CLA
no flags Details | Diff
TypeMappingInfo patch (4.41 KB, patch)
2012-06-25 13:55 EDT, Denise Smith CLA
no flags Details | Diff
TypeMappingInfo patch (4.25 KB, patch)
2012-06-26 14:35 EDT, Denise Smith CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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