[GitHub] coheigea edited a comment on issue #487: Ensure JAXB and javax.activation are not required for JAX-RS

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] coheigea edited a comment on issue #487: Ensure JAXB and javax.activation are not required for JAX-RS

GitBox
coheigea edited a comment on issue #487: Ensure JAXB and javax.activation are not required for JAX-RS
URL: https://github.com/apache/cxf/pull/487#issuecomment-453083194
 
 
   I did a test with a simple spring endpoint and ran into this problem - ProviderFactory has a method:
   
    static int comparePriorityStatus(Class<?> cl1, Class<?> cl2) {
           Integer value1 = AnnotationUtils.getBindingPriority(cl1);
           Integer value2 = AnnotationUtils.getBindingPriority(cl2);
           return value1.compareTo(value2);
       }
   
   AnnotationUtils.has: import javax.annotation.Priority;
   
   So I guess AnnotationUtils.getBindingPriority needs to use some reflection as well here.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[hidden email]


With regards,
Apache Git Services