You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by "Francesco Chicchiriccò (JIRA)" <ji...@apache.org> on 2012/11/18 18:40:58 UTC
[jira] [Updated] (COCOON-2304) ThreadLocal in Rhino context is not
always cleared
[ https://issues.apache.org/jira/browse/COCOON-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francesco Chicchiriccò updated COCOON-2304:
-------------------------------------------
Fix Version/s: (was: 2.2)
2.2.1-SNAPSHOT
> ThreadLocal in Rhino context is not always cleared
> --------------------------------------------------
>
> Key: COCOON-2304
> URL: https://issues.apache.org/jira/browse/COCOON-2304
> Project: Cocoon
> Issue Type: Bug
> Components: - Flowscript
> Reporter: Graham Triggs
> Fix For: 2.2.1-SNAPSHOT
>
> Attachments: flowscript.diff
>
>
> The Mozilla Rhino Context isn't exited in all cases in FOM_JavascriptInterpreter. This can lead to a leak on application undeployment, with the ThreadLocal references inside.
> Patch restructures the code slightly to use try { } finally { } blocks to ensure the Context.exit() is called where appropriate (this makes the patch look bigger than it really is, due to indenting).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira