I find out what was not allowing insertGap to work well. 

I am instrumenting a method using CodeIterator. With the same iterator that I 
use to insert gaps into the method I also use writeByte to modify bytes. When I 
do this the gaps are inserted at the end.

I used two separate iterators to solve the problem. The first run inserts gaps 
and the second run modifies the bytecode. It would be better if I could insert 
gaps and modify the bytecode with the same iterator.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867563#3867563

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867563


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to