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

Bug 367791

Summary: Issues with JAXBElement<byte[]> subclass and factory methods
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: rick.barkhouse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
proposed fix and test none

Description Matt MacIvor CLA 2012-01-03 15:44:49 EST
When processing factory methods with parameters, if the parameter type is byte[], the wrong class name is used which causes a class not found exception.

Additionally in MappingsGenerator, when generating a descriptor for a subclass of JAXBElement, binary data mappings are never generated, which creates issue with this same usecase.
Comment 1 Matt MacIvor CLA 2012-01-03 15:49:45 EST
Created attachment 208960 [details]
proposed fix and test
Comment 2 Matt MacIvor CLA 2012-01-04 11:29:43 EST
Fix checked into Trunk. Set fixby to 2.3.3
Comment 3 Matt MacIvor CLA 2012-01-04 12:31:04 EST
Fix backported to 2.3.3
Comment 4 Matt MacIvor CLA 2012-01-04 13:22:47 EST
*** Bug 364053 has been marked as a duplicate of this bug. ***
Comment 5 Eclipse Webmaster CLA 2022-06-09 10:29:11 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink