User development,

A new message was posted in the thread "ClassPool Refactoring":

http://community.jboss.org/message/521819#521819

Author  : Flavia Rainone
Profile : http://community.jboss.org/people/flavia.rain...@jboss.com

Message:
--------------------------------------------------------------
I've been testing the trunk version of jboss classpool (with the cache 
disabled) with AS trunk, and the AOP tests are not passing.
I discovered that the classes are not being woven because the weaving proccess 
throws a CannotCompileException, indicating that wrapped methods do not exist. 
The exception is thrown at the moment that code that invokes the wrapped method 
is generated (dispatch method).
The trigger of this exception is the classpool, that is returning a new, fresh, 
CtClass instance of the class being woven. Instead, the classpool should return 
the modified CtClass instance, the one that contains the wrapped method 
renamed. I'll continue investigating to find out why are the classpools 
behaving this way.

--------------------------------------------------------------

To reply to this message visit the message page: 
http://community.jboss.org/message/521819#521819


_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to