Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5895

asmhelper broken with asm 5

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.2
    • None
    • None
    • Unknown

    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

      cls.getMethod("visitFrame", Integer.TYPE, String.class,
                                    String.class, String.class);
      

      to

      cls.getMethod("visitFrame", Integer.TYPE, Integer.TYPE,
                                    Object[].class,  Integer.TYPE, Object[].class);
      

      see org.apache.cxf.common.util.ASMHelper.MethodVisitor#visitFrame

      PS: xbean asm4 shade can then be removed since not compatible

      Attachments

        Activity

          People

            dkulp Daniel Kulp
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: