[jboss-jira] [JBoss JIRA] Created: (JBRULES-1487) access to store property in MapBackedClassLoader should be synchronized
Jan Boboli (JIRA)
jira-events at lists.jboss.org
Tue Feb 26 06:20:43 EST 2008
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
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