You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/07/22 18:48:40 UTC
[jira] [Updated] (CXF-5895) asmhelper broken with asm 5
[ https://issues.apache.org/jira/browse/CXF-5895?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Romain Manni-Bucau updated CXF-5895:
------------------------------------
Description:
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
was:
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
> 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
>
> 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)