Author: bstansberry(a)jboss.com
Date: 2008-02-29 16:28:02 -0500 (Fri, 29 Feb 2008)
New Revision: 5381
Modified:
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
Log:
[JBCACHE-1302] Properly restore TCCL
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-02-29
20:31:11 UTC (rev 5380)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller200.java 2008-02-29
21:28:02 UTC (rev 5381)
@@ -535,7 +535,7 @@
}
finally
{
- if (overrideContextClassloaderOnThread || old == null)
currentThread.setContextClassLoader(null);
+ if (overrideContextClassloaderOnThread || old == null)
currentThread.setContextClassLoader(old);
}
}
}
Show replies by date