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

Bug 367952

Summary: XMLObjectBuilder addXsiTypeAndClassIndicatorIfRequired method optimize the not required case
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    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
2.3 proposed patch
none
2.3 Proposed patch none

Description Denise Smith CLA 2012-01-05 10:01:24 EST
The addXsiTypeAndClassIndicatorIfRequired methods get called for every root and composite mapping (and for each item in a composite collection mapping) so should be optimized if possible.
Comment 1 Denise Smith CLA 2012-01-05 10:13:07 EST
Created attachment 209075 [details]
2.3 proposed patch
Comment 2 Denise Smith CLA 2012-01-10 15:53:59 EST
Created attachment 209283 [details]
2.3 Proposed patch
Comment 3 Denise Smith CLA 2012-01-11 10:35:23 EST
Checked in fix to 2.3 and trunk.  Now checking for the presence of an xsi:type indicator field once per objectbuilder (only if it has inheritance) instead of on each item we marshal.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:57 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink