You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/06/28 17:36:45 UTC

[jira] [Closed] (SLING-2506) Destroy wrapper as soon as java file changes

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

Carsten Ziegeler closed SLING-2506.
-----------------------------------

    
> 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