From: hengels <nu...@jb...> - 2005-05-20 08:09:38
|
Hi, I found another bug in javaassist. The workaround is to comment out the call to doCompaction in CtClassType->getClassFile2 The problem is, that the method doCompaction calls CtClassType->isModified in order to check, if a class can be removed from the cache. isModified returns the field "wasChanged" and this isn't updated on changes (see method checkModify). So, what actually happens is that modified classes are pruned from the cache and thus, the modifications get lost. This is the reason, why the compiler can't find renamed original methods when compiling wrapper methods during instrumentation with jboss aop. could you please have a look at this issue and furthermore, could you please apply my patch for the tokenizer (see http://www.jboss.org/index.html?module=bb&op=viewtopic&t=64091). Thanks, Holger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878519#3878519 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878519 |