You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2017/01/26 16:46:24 UTC

[jira] [Commented] (CXF-7228) ProviderInfo rarely supports proxies

    [ https://issues.apache.org/jira/browse/CXF-7228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15840012#comment-15840012 ] 

Sergey Beryozkin commented on CXF-7228:
---------------------------------------

Romain, we are releasing most likely  tomorrow, so I updated the code you referred to. I'm not sure the code in ServerProviderFactory is unsafe, it is only the assignment check, but I've updated it just in case too. I'll resolve this issue for 3.1.10, please open new issues if you discover the related problems in some other parts of the code, thanks 

> ProviderInfo rarely supports proxies
> ------------------------------------
>
>                 Key: CXF-7228
>                 URL: https://issues.apache.org/jira/browse/CXF-7228
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> CXF has a lot of pi.getProvider().getClass() usages but it breaks when using proxies not propagating annotations (@Priority - org.apache.cxf.jaxrs.provider.ServerProviderFactory.ServerConfigurationImpl#getPriority, name bindings org.apache.cxf.jaxrs.provider.ProviderFactory#getFilterNameBindings, etc)
> Using at least org.apache.cxf.common.util.ClassHelper would solve this (and this API is designed for it isnt it?). Also using ClassUnwrapper would be consistent.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)