[jboss-jira] [JBoss JIRA] Created: (JBRULES-1416) The use of HashKey is not thread safe in CompositeObjectSinkAdapter

Mark Proctor (JIRA) jira-events at lists.jboss.org
Sun Jan 13 15:50:19 EST 2008


The use of HashKey is not thread safe in CompositeObjectSinkAdapter
-------------------------------------------------------------------

                 Key: JBRULES-1416
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1416
             Project: JBoss Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 4.0.3, 4.0.2, 4.0.1,  4.0.0.GA
            Reporter: Mark Proctor
         Assigned To: Mark Proctor
             Fix For: 4.0.4, 4.1.0


Noticed that actually  the little optimisation in CompositeObjectSinkAdapter to use a hashKey field instance is not thread  safe. So need to change it to always  just create a local instance and  use  that.

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