cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-7229) ClassHelper usages not replacable by ClassUnwrapper
Date Wed, 25 Jan 2017 13:46:26 GMT

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

Sergey Beryozkin commented on CXF-7229:
---------------------------------------

Hi Romain, 
what will be passed to the MessageBodyWriter is the actual object instance and its actual
whatever it is object class.
It is difficult to prioritize on fixing a problem which I've no idea how to reproduce - I
have a 0 experience with CDI. Just adding the object check instead will be more expensive
for ex in case of Spring hence if we do need to change it then we really need a strong reason
for it. 
Can you add a disabled test to CXF CDI test ? Or create some test project ? 

> ClassHelper usages not replacable by ClassUnwrapper
> ---------------------------------------------------
>
>                 Key: CXF-7229
>                 URL: https://issues.apache.org/jira/browse/CXF-7229
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>
> ClassUnwrapper and ClassHelper are pretty close and for an app setting a single one should
be enough (in particular cause ClassHelper overriding is hacky)
> Spotted org.apache.cxf.jaxrs.utils.InjectionUtils#getRawResponseClass for instance



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

Mime
View raw message