You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (Jira)" <ji...@apache.org> on 2020/07/13 14:47:00 UTC

[jira] [Updated] (SLING-9350) Recompile scripts which hold a stale ScriptEngine reference

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

Radu Cotescu updated SLING-9350:
--------------------------------
    Fix Version/s: Servlets Resolver 2.7.0

> Recompile scripts which hold a stale ScriptEngine reference
> -----------------------------------------------------------
>
>                 Key: SLING-9350
>                 URL: https://issues.apache.org/jira/browse/SLING-9350
>             Project: Sling
>          Issue Type: Bug
>          Components: Scripting
>    Affects Versions: Scripting Bundle Tracker 0.1.0
>            Reporter: Radu Cotescu
>            Assignee: Radu Cotescu
>            Priority: Major
>             Fix For: Scripting Bundle Tracker 0.2.0, Servlets Resolver 2.7.0
>
>
> The {{org.apache.sling.scripting.bundle.tracker.internal.Script}} implementation wraps and caches a {{javax.script.CompiledScript}}. However, the wrapped {{javax.script.CompiledScript}} should be recompiled if a newer suitable {{ScriptEngineFactory}} gets registered.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)