[jboss-jira] [JBoss JIRA] Created: (JBAOP-285) overloaded method super calls do not get intercepted with generated advisors
Kabir Khan (JIRA)
jira-events at jboss.com
Thu Sep 14 12:40:36 EDT 2006
overloaded 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
More information about the jboss-jira
mailing list