[
http://jira.jboss.com/jira/browse/JBAOP-536?page=comments#action_12401936 ]
Kabir Khan commented on JBAOP-536:
----------------------------------
I am not sure if two threads will increment/decrement this value concurrently? It is
initialised, incremenred and used as part of on method/field/contructor call
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