cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andriy Redko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-7229) ClassHelper usages not replacable by ClassUnwrapper
Date Thu, 26 Jan 2017 21:36:24 GMT

     [ https://issues.apache.org/jira/browse/CXF-7229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andriy Redko updated CXF-7229:
------------------------------
    Attachment: proxy-test-case.txt

Hey Sergey,

I am attaching a simple test case to illustrate how to reproduce the issue. It is a little
bit ad-hoc, but the same result could be achieved using f.e. @Inject or @Autowired annotations,
when the proxy is returned instead of real object. 

The test case is failing right now, the proxy object is not serialized into its proxied instance.

Thanks.

Best Regards,
    Andriy Redko

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

Mime
View raw message