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

Bug 328888

Summary: Dynamic JAXB: NPE bootstrapping from XSD with nested inner classes
Product: z_Archived Reporter: Rick Barkhouse <rick.barkhouse>
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 XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch. none

Description Rick Barkhouse CLA 2010-10-27 16:27:23 EDT
Forum post here:

http://www.eclipse.org/forums/index.php?t=post&reply_to=635483&S=6c718644751fe3ea317ba3730c78a278

We are incorrectly building the XJCJavaModel for multi-level inner types.
Comment 2 Rick Barkhouse CLA 2010-10-29 14:34:27 EDT
Created attachment 182072 [details]
Proposed patch.
Comment 3 Rick Barkhouse CLA 2010-11-01 12:08:22 EDT
Fixed.  Enabled JavaClass caching to ensure proper instances are returned when querying method return types, parameter types, etc.

Test case: o.e.p.testing.jaxb.dynamic.DynamicJAXBFromXSDTestCases::testNestedInnerClasses
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:40 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink