openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gerdo...@apache.org
Subject svn commit: r934189 - /openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Date Wed, 14 Apr 2010 20:44:54 GMT
Author: gerdogdu
Date: Wed Apr 14 20:44:54 2010
New Revision: 934189

URL: http://svn.apache.org/viewvc?rev=934189&view=rev
Log:
[OWB-354] WebContextService may throw NPE in tiered classloading environmemt

Modified:
    openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java

Modified: openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java?rev=934189&r1=934188&r2=934189&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
(original)
+++ openwebbeans/trunk/webbeans-web/src/main/java/org/apache/webbeans/web/context/WebContextsService.java
Wed Apr 14 20:44:54 2010
@@ -116,24 +116,14 @@ public class WebContextsService extends 
         endContext(Singleton.class, destroyObject);
         
         requestContext.remove();
-        requestContext = null;        
         dependentContext.remove();
-        dependentContext = null;
         sessionContext.remove();
-        sessionContext = null;
         conversationContext.remove();
-        conversationContext = null;
         applicationContext.remove();
-        applicationContext = null;
         singletonContext.remove();
-        singletonContext = null;
-        
+
         currentApplicationContexts.clear();
-        currentApplicationContexts = null;
         currentSingletonContexts.clear();
-        currentSingletonContexts = null;
-        sessionCtxManager = null;
-        conversationManager = null;
     }    
     
     



Mime
View raw message