reta commented on a change in pull request #721:
URL: https://github.com/apache/cxf/pull/721#discussion_r520971208



##########
File path: core/src/main/java/org/apache/cxf/common/jaxb/JAXBUtils.java
##########
@@ -1346,7 +1346,11 @@ private static Object 
createEclipseNamespaceMapper(Class<?> mcls, Map<String, St
             + ("RI".equals(postFix) ? "" : "internal/")
             + "bind/marshaller/NamespacePrefixMapper";
         String postFixedName = "org/apache/cxf/jaxb/NamespaceMapper" + postFix;
+        Class<?> cls = helper.findClass(className, ref);

Review comment:
       Same as for `createFactory`, it would be better to distinguish the case 
when suitable factory exists vs creating a new one.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to