| Summary: | Classloader issue while un-/marshalling with Moxy | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Stefan W. <comikus15> | ||||||
| Component: | Eclipselink | Assignee: | Nobody - feel free to take it <nobody> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | major | ||||||||
| Priority: | P3 | CC: | matt.macivor | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Stefan W.
Created attachment 194918 [details]
Patch to solve the problem
This patch passes the classloader to the isJAXB2ObjectFactory and loads the annotation with the specific classloader.
The patch is for the trunk version of moxy.
If a patch for the specific version 2.2.0.v20110202-r8913 is need i can supply it too.
Created attachment 195127 [details]
Fix for the same issue with XmlSeeAlso
Proposed fix looks good. The same issue exists for the XmlSeeAlso annotation. That annotation class is also loaded using the same API without passing in the correct ClassLoader. Attached patches checked into trunk stream in SVN The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |