Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Patch available
Description
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).
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).