You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ar...@apache.org on 2014/08/01 22:10:16 UTC
svn commit: r1615213 -
/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java
Author: arobinson74
Date: Fri Aug 1 20:10:16 2014
New Revision: 1615213
URL: http://svn.apache.org/r1615213
Log:
TRINIDAD-2500
Remove the context class loader from the application map on context destroy
Modified:
myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java
Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java?rev=1615213&r1=1615212&r2=1615213&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java (original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/RequestContext.java Fri Aug 1 20:10:16 2014
@@ -1035,7 +1035,7 @@ abstract public class RequestContext
*/
public static void releaseApplicationState()
{
- _APPLICATION_MAPS.clear();
+ _APPLICATION_MAPS.remove(_getClassLoader());
}
/**
@@ -1076,7 +1076,7 @@ abstract public class RequestContext
//
// Pick a ClassLoader
//
- private ClassLoader _getClassLoader()
+ private static ClassLoader _getClassLoader()
{
return Thread.currentThread().getContextClassLoader();
}