Github user deki commented on a diff in the pull request:

    https://github.com/apache/cxf/pull/247#discussion_r107344997
  
    --- Diff: core/src/main/java/org/apache/cxf/common/util/PackageUtils.java 
---
    @@ -56,7 +57,9 @@ public static String getSharedPackageName(List<Class<?>> 
classes) {
             List<List<String>> lParts = new 
ArrayList<List<String>>(classes.size());
             List<String> currentParts = new ArrayList<>();
             for (Class<?> cls : classes) {
    -            lParts.add(StringUtils.getParts(getPackageName(cls), "\\."));
    +            if (!Proxy.isProxyClass(cls)) {
    --- End diff --
    
    Good idea, I first thought to use InvocationHandler stuff for this but in 
the method only the class itself is available. And afaik it's not possible to 
get the real class as there might be multiple interfaces...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to