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 2015/06/08 16:04:00 UTC

[jira] [Created] (SLING-4787) Change the DynamicClassLoader used by the Sightly scripting engine

Radu Cotescu created SLING-4787:
-----------------------------------

             Summary: Change the DynamicClassLoader used by the Sightly scripting engine
                 Key: SLING-4787
                 URL: https://issues.apache.org/jira/browse/SLING-4787
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting Sightly Engine 1.0.2
            Reporter: Radu Cotescu
            Assignee: Radu Cotescu
             Fix For: Scripting Sightly Engine 1.0.4


Since Sightly generated classes are instantiated with a {{DynamicClassLoader}} obtained from the {{ClassLoaderWriter}}, the context class loader used on a Sightly execution thread should be of the same type.

This way the cleaning mechanism that will be implemented for SLING-4783 will properly remove strong references  to Sightly generated classes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)