cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Triggs (JIRA)" <j...@apache.org>
Subject [jira] Created: (COCOON-2304) ThreadLocal in Rhino context is not always cleared
Date Wed, 13 Oct 2010 20:01:32 GMT
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
         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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message