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

Bug 364167

Summary: Performance Improvement - Only create XMLInputFactory when needed on JAXBUnmarshaller
Product: z_Archived Reporter: Blaise Doughan <blaise.doughan>
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 XP   
Whiteboard:
Attachments:
Description Flags
MOXy - Fix (2.3.2)
none
MOXy - Fix (trunk) none

Description Blaise Doughan CLA 2011-11-18 10:22:42 EST
Currently an instance of XMLInputFactory is always created on JAXBUnmarshaller even when one is not needed.  The code should be enhanced to create this object on demand.
Comment 1 Blaise Doughan CLA 2011-11-18 10:52:27 EST
Created attachment 207227 [details]
MOXy - Fix (2.3.2)
Comment 2 Blaise Doughan CLA 2011-11-18 10:52:45 EST
Created attachment 207228 [details]
MOXy - Fix (trunk)
Comment 3 Blaise Doughan CLA 2011-11-18 11:06:34 EST
Fix checked into 2.3.2 at rev:  10421
Fix checked into trunk at rev:  10422

Code reviewed by:  Matt MacIvor

Fix Details:
Now XMLInputFactory is only created when required.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:16:14 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:18:54 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink