> Aside, from what we experienced in AspectWerkz, the BCEL so called
> Repository is just broken when you have some classloader hierarchies
> and multi threaded instrumentation. We ended up in writting our own
> hack for that. With ASM, we implemented our own repository, that does
> not suffer from that weakness:
> http://svn.apache.org/viewcvs.cgi/jakarta/bcel/trunk/src/java/org/apache/bcel/Repository.java?rev=152903&view=markup
> This class contains only static methods, so you have to carrully avoid
> using it (and any variant like ClassLoaderRepository) since f.e. when
> doing on the fly instrumentation, it is obvious that 2 threads can do
> instrumentation for 2 different classloader.

Yepp ...that repository stuff is just a PITA

I clearly requires some (re)design

cheers
--
Torsten

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to