Stuart Douglas [
http://community.jboss.org/people/swd847] created the discussion
"Re: Method Content Comparison"
To view the discussion, visit:
http://community.jboss.org/message/641883#641883
--------------------------------------------------------------
I think you would have to use a CodeIterator to go over the code one instruction at a time
and compare them. You need to make sure that the instructions are the same, and also that
the value of any items that they point to in the const pool is also the same. A complete
list of the bytecode instructions can be found at:
http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc...
http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc...
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/641883#641883]
Start a new discussion in Javassist at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]