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