reta commented on a change in pull request #924:
URL: https://github.com/apache/cxf/pull/924#discussion_r826003586
##########
File path: core/src/main/java/org/apache/cxf/common/jaxb/JAXBContextCache.java
##########
@@ -336,7 +336,13 @@ private static JAXBContext createContext(final
Set<Class<?>> classes,
try {
ctx = AccessController.doPrivileged(new
PrivilegedExceptionAction<JAXBContext>() {
public JAXBContext run() throws Exception {
- return JAXBContext.newInstance(classes.toArray(new
Class<?>[0]), map);
+ //This is a workaround for CXF-8675
+ Class factoryClass =
ClassLoaderUtils.loadClass("org.glassfish.jaxb.runtime.v2.ContextFactory",
Review comment:
Should we have this workaround in JAXBUtils? I suspect it may not be the
only place ....
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]