Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9350

Recompile scripts which hold a stale ScriptEngine reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Scripting Bundle Tracker 0.1.0
    • Servlets Resolver 2.7.0
    • Scripting
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              radu Radu Cotescu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: