[
http://jira.jboss.com/jira/browse/JBAOP-285?page=all ]
Kabir Khan updated JBAOP-285:
-----------------------------
Summary: overridden method super calls do not get intercepted with generated advisors
(was: overloaded method super calls do not get intercepted with generated advisors)
overridden method super calls do not get intercepted with generated
advisors
----------------------------------------------------------------------------
Key: JBAOP-285
URL:
http://jira.jboss.com/jira/browse/JBAOP-285
Project: JBoss AOP
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Kabir Khan
Assigned To: Kabir Khan
Fix For: 2.0.0.alpha
class Base{
void superCall(){}
}
class Sub extends Base{
void superCall(){super.superCall();}
}
<bind pointcut="execution(* $instanceof{Base}->superCall())">
<interceptor class="X"/>
</bind>
Sub sub = new Sub();
sub.superCall();
We only get intercepted when calling sub.superCall(), the call to base.superCall() does
not get intercepted.
I added a failing test to org.jboss.test.aop.extender.ExtenderTestCase
--
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