Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367791 - Issues with JAXBElement<byte[]> subclass and factory methods
Summary: Issues with JAXBElement<byte[]> subclass and factory methods
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 364053 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-03 15:44 EST by Matt MacIvor CLA
Modified: 2022-06-09 10:29 EDT (History)
1 user (show)

See Also:


Attachments
proposed fix and test (11.41 KB, patch)
2012-01-03 15:49 EST, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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