]
Mark Proctor closed JBRULES-1487.
---------------------------------
Fix Version/s: 4.0.5
5.0.0-M1
Resolution: Done
access to store property in MapBackedClassLoader should be
synchronized
-----------------------------------------------------------------------
Key: JBRULES-1487
URL:
http://jira.jboss.com/jira/browse/JBRULES-1487
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Reteoo
Affects Versions: 4.0.4
Reporter: Jan Boboli
Assigned To: Mark Proctor
Fix For: 4.0.5, 5.0.0-M1
In MapBackedClassLoader three methods have access to the "store" property -
addClass, fastFindClass and getResourceAsStream.
fastFindClass is used in synchronized loadClass method, but addClass modifies the store
without any synchronization.
MapBackedClassLoader is connected to one rulebase which can be shared between different
working memory, so it is possible that multiple threads access the store concurently.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: