Carsten Ziegeler created SLING-2511:
---------------------------------------
Summary: Inactive class loader should still be usable
Key: SLING-2511
URL: https://issues.apache.org/jira/browse/SLING-2511
Project: Sling
Issue Type: Improvement
Components: JCR
Affects Versions: JCR Classloader 3.1.6
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: JCR Classloader 3.1.8
A destroyed class loader should still be usable.
For example otherwise we run into problems with the jsp scripting: The first
request comes into the jsp scripting and starts compiling something and gets a
jcr classloader (through the writer). While the compilation takes place,
another request comes in to a different jsp which invalidates the first
classloader as a jsp needs recompilation. The compilation of the first jsp now
fails.
If the classloader would still be usable, the compilation succeeds and the jsp
is later on loaded with the fresh classloader anyway as the jsp scripting gets
the latest classloader for loading jsps.
--
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