[jboss-jira] [JBoss JIRA] Commented: (JBAOP-431) Avoid excessive casting in generated joinpoint classes

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Thu Jul 12 01:01:10 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAOP-431?page=comments#action_12368691 ] 
            
Flavia Rainone commented on JBAOP-431:
--------------------------------------

The issue with caller is simple: we are using the callingObject field from superclass, which obviously isn't typed. I'll create a typedCaller field, in the same way we already have a typedTarget one.

> Avoid excessive casting in generated joinpoint classes
> ------------------------------------------------------
>
>                 Key: JBAOP-431
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-431
>             Project: JBoss AOP
>          Issue Type: Sub-task
>      Security Level: Public(Everyone can see) 
>            Reporter: Kabir Khan
>         Assigned To: Flavia Rainone
>             Fix For: 2.0.0.beta
>
>
> in JoinPoint.invoke() and invokeNext() we do not need to cast the joinpoint argument
> around.around(this);
> is noticably faster than 
> around.around((MethodInvocation)this);

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