[jboss-jira] [JBoss JIRA] Created: (JBAOP-626) Dynamic invocation of unadvised methods not supported on genadvisor mode

Flavia Rainone (JIRA) jira-events at lists.jboss.org
Thu Aug 21 11:07:44 EDT 2008


Dynamic invocation of unadvised methods not supported on genadvisor mode
------------------------------------------------------------------------

                 Key: JBAOP-626
                 URL: https://jira.jboss.org/jira/browse/JBAOP-626
             Project: JBoss AOP
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.CR15
            Reporter: Flavia Rainone
            Assignee: Flavia Rainone
             Fix For: 2.0.0.GA


This method should support dynamic invocation of unadvised methods.

On classic mode, this is done by generating metod infos for all unadvised methods of every advised class. This way, when Advisor.dynamicInvoke is called for an unadvised method, it will invoke the unadvised method just like it would do with an advised method: using the MethodInfo.

On generated advisor mode, we generate method infos for advised methods exclusively. So, when dynamicInvoke is called for an unadvised method, we get an NPE, as there is no info for the unadvised method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list