Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 366239 - JAXBUnmarshaller - remove map lookups when maps are empty
Summary: JAXBUnmarshaller - remove map lookups when maps are empty
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 13:56 EST by Denise Smith CLA
Modified: 2022-06-09 10:19 EDT (History)
1 user (show)

See Also:


Attachments
2.3 proposed patch (2.49 KB, patch)
2011-12-09 14:00 EST, 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 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