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

Daniel Kulp resolved CXF-5895.
------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0.2
         Assignee: Daniel Kulp

> asmhelper broken with asm 5
> ---------------------------
>
>                 Key: CXF-5895
>                 URL: https://issues.apache.org/jira/browse/CXF-5895
>             Project: CXF
>          Issue Type: Task
>            Reporter: Romain Manni-Bucau
>            Assignee: Daniel Kulp
>             Fix For: 3.0.2
>
>
> asmhelper works only with asm itself but not shades cause of visitFrame.
> org.apache.cxf.common.util.ASMHelper#tryClass needs to change getMethod call 
> from
> {code}
> cls.getMethod("visitFrame", Integer.TYPE, String.class,
>                               String.class, String.class);
> {code}
> to 
> {code}
> cls.getMethod("visitFrame", Integer.TYPE, Integer.TYPE,
>                               Object[].class,  Integer.TYPE, Object[].class);
> {code}
> see org.apache.cxf.common.util.ASMHelper.MethodVisitor#visitFrame
> PS: xbean asm4 shade can then be removed since not compatible



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to