Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-1487

access to store property in MapBackedClassLoader should be synchronized

    XMLWordPrintable

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mark.proctor Mark Proctor
                Reporter:
                jboboli Jan Boboli
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: