[jboss-jira] [JBoss JIRA] Closed: (JBRULES-1487) access to store property in MapBackedClassLoader should be synchronized
Mark Proctor (JIRA)
jira-events at lists.jboss.org
Wed Mar 12 00:19:03 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1487?page=all ]
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: 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