Coder Social home page Coder Social logo

Comments (4)

aliab01 avatar aliab01 commented on July 19, 2024

@chibash By this way I took a look at https://issues.jboss.org/browse/JASSIST-241
I also verified the javassist I have in my environment, Its javassist 3.9 GA. Looks like JAVASSIST-241 is not fully fixed yet.

from javassist.

aliab01 avatar aliab01 commented on July 19, 2024

@chibash never mind , the issue got resolved after applying https://issues.jboss.org/browse/JASSIST-241 on top of 2.19-GA. I'm closing this.

from javassist.

sajalag76 avatar sajalag76 commented on July 19, 2024

@aliab01 I'm also facing the same java.lang.VerifyError error when I'm using CtMethod.insertAfter method to modify one of the methods in my java web application. I have read the link you have posted in your last comment but still I have no clue on how I can modify the insertAfter method to work properly. Can you assist me on this?

from javassist.

vrocky avatar vrocky commented on July 19, 2024

I learned that if we use insertAfter with the 'redundant' parameter as mentioned in the documentation this issue doesn't occur. I resolved this

by changing

    ctBehavior.insertAfter(exit, true, true);

to

  ctBehavior.insertAfter(exit, true, ctClass.isKotlin());

from javassist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.