Hey Raji, thanks for bringing this to the list
I think the sketch in section 2.4 in http://vafer.org/pub/papers/spasm.pdf gives a general overview of code rewriting. As long as the method that is being called is instrumented properly you should be able to make this work - with some changes necessary though. Without looking into the current javaflow code I would think that javaflow would need to also "record" reflection based calls to methods (not just straight native method calls). So judging from your code snippet you are on the right track there. Sorry, I can't be of much more help at this time. You can do it! ;) cheers, Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org