trouble with instrumenting interdependent classes

Rajaraman Santhanam <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <12f0fe3da3a.-4831027866056665226.1180793481630735784@zohocorp.com>
Hi,

I'm facing an issue while instrumenting two classes that are interdependent. 


The classes in dispute are com/mysql/jdbc/ConnectionImpl &amp; com/mysql/jdbc/PreparedStatement. I'm instrumenting the method ConnectionImpl.prepareStatement() which returns an instance of PreparedStatement. There is also a rule defined to instrument certain methods in PreparedStatement. 


My ClassFileTransformer implementation is not called at all while loading PreparedStatement whenever I instrument ConnectionImpl. However, if I disable instrumenting ConnectionImpl everything seems to work fine!


Any special case I have to handle here? or am I missing something here?



thanks,
ramanr
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.