You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by GitBox <gi...@apache.org> on 2021/04/27 01:02:53 UTC

[GitHub] [cxf] reta commented on a change in pull request #779: CXF-8516: Fixing jaxrs.spec.provider.jaxbcontext readWriteProviderTest

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



##########
File path: rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/provider/ProviderFactory.java
##########
@@ -1133,8 +1132,13 @@ protected static int compareClasses(Class<?> expectedCls, Object o1, Object o2)
         if (realClass1.isAssignableFrom(realClass2)) {
             // subclass should go first
             return 1;
+        } else if (realClass2.isAssignableFrom(realClass1)) {

Review comment:
       Also aligned with Jersey (JAX-RS RI) in this regards 




-- 
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:
users@infra.apache.org