Community
Participate
Working Groups
When processing classes loaded from a different ClassLoader than the one handed into JAXB, ClassNotFound exception can occur for any classes indirectly discovered during processing. This includes, inner classes, property types and types found via XMLJavaTypeAdapter. EclipseLink maintains a list of all classes passed in on a custom classloader so that they can be loaded again later if required. This list never gets updated when new classes are discovered, which will cause this issue to arise.
Created attachment 186933 [details] proposed fix and test case
Attached patch checked in to SVN Reviewed by Blaise Doughan
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink