sling-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Edelson (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SLING-2228) Prevent Reregistration of ScriptEngineManager on ScriptEngineFactory update
Date Wed, 05 Oct 2011 00:29:34 GMT

     [ https://issues.apache.org/jira/browse/SLING-2228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Justin Edelson resolved SLING-2228.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: Scripting Core 2.0.20

applied patch in r1179020
                
> Prevent Reregistration of ScriptEngineManager on ScriptEngineFactory update
> ---------------------------------------------------------------------------
>
>                 Key: SLING-2228
>                 URL: https://issues.apache.org/jira/browse/SLING-2228
>             Project: Sling
>          Issue Type: Improvement
>          Components: Scripting
>    Affects Versions: Scripting Core 2.0.18
>            Reporter: Felix Meschberger
>            Assignee: Justin Edelson
>             Fix For: Scripting Core 2.0.20
>
>         Attachments: SLING-2228-fmeschbe.patch, SLING-2228.patch
>
>
> The ScriptEngineManager must be recreated when an existing ScriptEngineFactory is removed
or updated. This causes the ScriptEngineManager service to be unregistered and registered
again.
> We should probably prevent this, maybe along these lines:
>   * Register the ScriptEngineManager as a service during the whole lifetime of the Scripting
Core
>   * The registered ScriptEngineManager is a proxy to the actual ScriptEngineManager which
gets ScriptEngineFactory registered
>   * On ScriptEngineFactory update, the proxied ScriptEngineManager is just replaced

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message