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)

Reply via email to