[jboss-jira] [JBoss JIRA] Commented: (JBAOP-536) Generated invokeNext method should be synchronized

Kabir Khan (JIRA) jira-events at lists.jboss.org
Tue Mar 11 05:34:57 EDT 2008


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

They will be 2 different instances

> Generated invokeNext method should be synchronized
> --------------------------------------------------
>
>                 Key: JBAOP-536
>                 URL: http://jira.jboss.com/jira/browse/JBAOP-536
>             Project: JBoss AOP
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.0.0.CR7
>            Reporter: Flavia Rainone
>         Assigned To: Flavia Rainone
>             Fix For: 2.0.0.CR8
>
>
> JoinPointGenerator generates a invokeNext method that manipulates the InvocationBase.currentInterceptor field.
> To avoid the scenario where two threads increment and/or decrement the value of this field concurrently, this method body must be synchronized.

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