Instrumented methods contained in the super class may be ignored
----------------------------------------------------------------
Key: JBAOP-545
URL:
http://jira.jboss.com/jira/browse/JBAOP-545
Project: JBoss AOP
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR8
Reporter: Flavia Rainone
Assigned To: Flavia Rainone
Fix For: 2.0.0.GA
A method to be intercepted is completely ignored in generated advisor mode if:
- the target class of the method is instrumented
- the method is defined in the super class of the super class of the target class, and is
not overriden
- the super class of the target class is not instrumented
- the super class of the super class of the target class is instrumented
In this case, the methodInfo field is set to null, since GeneratedAdvisorInstrumentor
relies on Instrumentor.isAdvised(CtClass superClass) method to check whether the super
class is advised or not. This method does not take into consideration the super class of
the super class, thus causing the bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira