How do I overcome the “VerifyError:Expecting a stackmap frame” for a JDK 7/8 application?

后端 未结 2 944
自闭症患者
自闭症患者 2021-01-14 06:17

I am using ASM 5.0.3 bytecode modification library with Tomcat 8 and JDK 8.

My intention is to inject bytecode successfully into all the classes. However, I encount

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-14 06:55

    I fixed the issue, after extending ClassWriter class and override the method getCommonSuperClass.

    Please check this ASM 5.0.3 With Java 1.8 incorrect maxStack with Java.lang.VerifyError: Operand stack overflow

提交回复
热议问题