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/04/18 14:43:41 UTC

[jira] [Resolved] (CXF-7331) javax.ws.rs.container.ResourceInfo#getResourceClass doesnt unwrap the class

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

Sergey Beryozkin resolved CXF-7331.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.0.14
                   3.1.12
                   3.2.0

You are right, I just matched ResourceInfo.getResourceClass to the identically named method :-), which works in most cases but the ones when the actual service classes are proxified 

> javax.ws.rs.container.ResourceInfo#getResourceClass doesnt unwrap the class
> ---------------------------------------------------------------------------
>
>                 Key: CXF-7331
>                 URL: https://issues.apache.org/jira/browse/CXF-7331
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Romain Manni-Bucau
>            Assignee: Sergey Beryozkin
>             Fix For: 3.2.0, 3.1.12, 3.0.14
>
>
> javax.ws.rs.container.ResourceInfo#getResourceClass should call the Unwrapper otherwise you compare user classes with proxied classes which makes the matching not as easy as it should in several cases



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)