[jboss-cvs] JBossAS SVN: r112239 - branches/JBPAPP_5_0_1_GA_JBPAPP-7179/tomcat/src/main/org/jboss/web/tomcat/service.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Sep 14 11:52:55 EDT 2011


Author: aogburn
Date: 2011-09-14 11:52:55 -0400 (Wed, 14 Sep 2011)
New Revision: 112239

Modified:
   branches/JBPAPP_5_0_1_GA_JBPAPP-7179/tomcat/src/main/org/jboss/web/tomcat/service/TomcatInjectionContainer.java
Log:
JBPAPP-7179: committing change to ConcurrentHashMap in TomcatInjectionContainer for fix

Modified: branches/JBPAPP_5_0_1_GA_JBPAPP-7179/tomcat/src/main/org/jboss/web/tomcat/service/TomcatInjectionContainer.java
===================================================================
--- branches/JBPAPP_5_0_1_GA_JBPAPP-7179/tomcat/src/main/org/jboss/web/tomcat/service/TomcatInjectionContainer.java	2011-09-14 14:51:57 UTC (rev 112238)
+++ branches/JBPAPP_5_0_1_GA_JBPAPP-7179/tomcat/src/main/org/jboss/web/tomcat/service/TomcatInjectionContainer.java	2011-09-14 15:52:55 UTC (rev 112239)
@@ -30,6 +30,7 @@
 import java.lang.reflect.Method;
 import java.util.ArrayList;
 import java.util.Collection;
+import java.util.concurrent.ConcurrentHashMap;
 import java.util.HashMap;
 import java.util.HashSet;
 import java.util.List;
@@ -124,7 +125,7 @@
    }
 
    protected EncMap encInjectors = new EncMap();
-   protected Map<String, Map<AccessibleObject, Injector>> encInjections = new HashMap<String, Map<AccessibleObject, Injector>>();
+   protected Map<String, Map<AccessibleObject, Injector>> encInjections = new ConcurrentHashMap<String, Map<AccessibleObject, Injector>>();
 
    protected DependencyPolicy dependencyPolicy = new JBoss5DependencyPolicy(this);
    protected Collection<InjectionHandler<Environment>> handlers;
@@ -684,4 +685,4 @@
    {
       return persistenceUnitDependencyResolver.resolvePersistenceUnitSupplier(unit, persistenceUnitName);
    }
-}
\ No newline at end of file
+}



More information about the jboss-cvs-commits mailing list