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

Romain Manni-Bucau commented on CXF-7229:
-----------------------------------------

Yes that's the case, suppose you use jaxb and the serializer you use needs 
@XmlElement on getPrice() but you return through 7 stacks of frameworks 
(actually 2-3 in real life) a proxy which drops the annotations then CXF will 
be lost until it uses the unwrapped class.

> 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
>            Assignee: Andriy Redko
>         Attachments: proxy-test-case.txt
>
>
> 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)

Reply via email to