Scott Marlow [
https://community.jboss.org/people/smarlow] created the discussion
"Re: Instrumenting Object comparison statements"
To view the discussion, visit:
https://community.jboss.org/message/832764#832764
--------------------------------------------------------------
Is there any developer manual on the implementation of javassist. For
example a walkthrough of how the replace() method in class javassist.expr.NewExpr works.
http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/javassist/tutorial/tutorial2.htm...
http://www.csg.ci.i.u-tokyo.ac.jp/~chiba/javassist/tutorial/tutorial2.htm... might be
helpful to you.
Also, step through the replace() method code while running the Javassist unit tests. That
is what I have been doing to learn more about Javassist internals.
For example, open test source javassist.JvstTest4 in your debugger and set a breakpoint in
method testAaload(), run the following command:
mvn -Dmaven.surefire.debug="-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8787 -Xnoagent
-Djava.compiler=NONE" clean install -Dtest=javassist.JvstTest4
Then instruct
your debugger to attach to port 8787.
Scott
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/832764#832764]
Start a new discussion in Javassist Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]