Carsten Ziegeler created SLING-2506:
---------------------------------------

             Summary: Destroy wrapper as soon as java file changes
                 Key: SLING-2506
                 URL: https://issues.apache.org/jira/browse/SLING-2506
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Scripting Java 2.0.4
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: Scripting Java 2.0.6


If a java file changes, the wrapper is kept until the script is accessed the 
next time. Worst case, it is never accessed but the wrapper still keeps a 
reference to an obsolete object and class loader.
This can be optimized by directly discarding the wrapper once an event is 
received for a script

--
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

        

Reply via email to