[ https://issues.apache.org/jira/browse/SLING-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1545. ----------------------------------- > ScripteEngineManagerFactory is not thread safe > ---------------------------------------------- > > Key: SLING-1545 > URL: https://issues.apache.org/jira/browse/SLING-1545 > Project: Sling > Issue Type: Improvement > Components: Scripting > Affects Versions: Scripting Core 2.0.14 > Reporter: Felix Meschberger > Assignee: Carsten Ziegeler > Fix For: Scripting Core 2.0.14 > > > The ScriptEngineManagerFactory class is not thread-safe: > * Access to the engineSpiBundles, engineSpiServices fields (lists) are not > guarded > * Calls to refreshScriptEngineManager are not guarded > This may cause improper states under certain circumstances. > Accesses to these internal fields and methods should properly be guarded. > In addition, replacement of the List as collection of the SPI bundles and > service by Set should be considered. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.