cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-7228) ProviderInfo rarely supports proxies
Date Thu, 26 Jan 2017 16:46:24 GMT


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

View raw message