[jboss-user] [Javassist] - Re: Method Content Comparison

Stuart Douglas do-not-reply at jboss.com
Fri Dec 16 00:04:26 EST 2011


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.html http://java.sun.com/docs/books/jvms/second_edition/html/Instructions2.doc.html
--------------------------------------------------------------

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&containerType=14&container=2062]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111216/b3541325/attachment.html 


More information about the jboss-user mailing list