[jboss-jira] [JBoss JIRA] Commented: (JBAOP-608) Util.methodExistsInSuperClassOrInterface does not take into account exactSuper value

Kabir Khan (JIRA) jira-events at lists.jboss.org
Thu Jul 3 16:43:32 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBAOP-608?page=comments#action_12419875 ] 
            
Kabir Khan commented on JBAOP-608:
----------------------------------

$implements/$implementing are more for looking at interfaces, i.e. if POJO implements SomeInterface, we can only intercept the methods in POJO that come from SomeInterface. Classes are matched too I think, but less useful. But yes, "$implements{Pojo}->*(..) will match all methods of Pojo besides its direct subclasses. Is this the expected behavior?" this sounds correct.




> Util.methodExistsInSuperClassOrInterface does not take into account exactSuper value
> ------------------------------------------------------------------------------------
>
>                 Key: JBAOP-608
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-608
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.CR14
>            Reporter: Flavia Rainone
>         Assigned To: Flavia Rainone
>             Fix For: 2.0.0.GA
>
>
> The mentioned method keeps on checking the whole hierarchy, without ever making a stop to check if it must ignore the super class (exactSuper).

-- 
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