[jboss-jira] [JBoss JIRA] Closed: (JBCACHE-1302) CacheMarshaller200 does not properly restore thread context classloader
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Fri Feb 29 16:29:57 EST 2008
[ http://jira.jboss.com/jira/browse/JBCACHE-1302?page=all ]
Brian Stansberry closed JBCACHE-1302.
-------------------------------------
Resolution: Done
> CacheMarshaller200 does not properly restore thread context classloader
> -----------------------------------------------------------------------
>
> Key: JBCACHE-1302
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1302
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.1.0.CR4
> Reporter: Brian Stansberry
> Assigned To: Brian Stansberry
> Fix For: 2.1.0.GA
>
>
> The unmarshallObject method isn't correctly restoring the original TCCL to the thread:
> finally
> {
> if (overrideContextClassloaderOnThread || old == null) currentThread.setContextClassLoader(null);
> }
> Setter call should be
> currentThread.setContextClassLoader(old);
> i.e. "old" not "null"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list