[jboss-jira] [JBoss JIRA] Closed: (JBAOP-485) Override Instrumentor.isBaseClass() in GeneratedAdvisorInstrumentor

Kabir Khan (JIRA) jira-events at lists.jboss.org
Fri Nov 16 10:07:18 EST 2007


     [ http://jira.jboss.com/jira/browse/JBAOP-485?page=all ]

Kabir Khan closed JBAOP-485.
----------------------------

    Resolution: Done

> Override Instrumentor.isBaseClass() in GeneratedAdvisorInstrumentor
> -------------------------------------------------------------------
>
>                 Key: JBAOP-485
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-485
>             Project: JBoss AOP
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Kabir Khan
>         Assigned To: Kabir Khan
>             Fix For: 2.0.0.CR1
>
>
> Scenario
> 1) Load Superclass which matches no bindings, the Superclass CtClass is not marked as modified or frozen
> 2) Deploy bindings affecting super class
> 3) Load SubClass, this will fetch in the Superclass (since it is not frozen or modified) and find that it matches bindings
> 4) IsAdvised on the Superclass CtClass will return true
> 5) This causes the SubClass to not get the base class basics woven in
> ==> Errors
> Fix:
> In 1) if we load a class and it is unmodified, record that in the pool and create GeneratedClassAdvisor.isBaseClass(0 to take this into account when doing the checks. 

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