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

Bug 366239

Summary: JAXBUnmarshaller - remove map lookups when maps are empty
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: eclipselink.oxm-inbox
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
2.3 proposed patch none

Description Denise Smith CLA 2011-12-09 13:56:14 EST
In JAXBUnmarshaller getClassToUnmarshalTo() there are checks in generated class maps.  Also in unmarshal(XMLStreamReader) there are checks in maps.  These maps are generally empty so should not be checked unless necessary.
Comment 1 Denise Smith CLA 2011-12-09 14:00:14 EST
Created attachment 208191 [details]
2.3 proposed patch
Comment 2 Denise Smith CLA 2011-12-09 14:22:42 EST
Fix checked in to trunk but should also be added to 2.3
Comment 3 Denise Smith CLA 2011-12-14 09:42:31 EST
Fix also checked in to 2.3.3
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:19:46 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink