You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/10/19 08:38:28 UTC
[jira] Assigned: (SLING-1545) ScripteEngineManagerFactory is not
thread safe
[ https://issues.apache.org/jira/browse/SLING-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler reassigned SLING-1545:
---------------------------------------
Assignee: Carsten Ziegeler
> 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.12
> Reporter: Felix Meschberger
> Assignee: Carsten Ziegeler
> Fix For: Scripting Core 2.0.12
>
>
> 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.