[seam-commits] Seam SVN: r13288 - branches/community/Seam_2_2/src/main/org/jboss/seam.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Tue Jun 22 12:43:19 EDT 2010
Author: denis.forveille
Date: 2010-06-22 12:43:19 -0400 (Tue, 22 Jun 2010)
New Revision: 13288
Modified:
branches/community/Seam_2_2/src/main/org/jboss/seam/Component.java
Log:
JBSEAM-4669. Remove the synchonized keyword on getInstanceFromFactory to avoid systemwide java deadlocks. Check JBSEAM-2419 for workarounds to solve the race condition in creating factories
Modified: branches/community/Seam_2_2/src/main/org/jboss/seam/Component.java
===================================================================
--- branches/community/Seam_2_2/src/main/org/jboss/seam/Component.java 2010-06-22 13:26:45 UTC (rev 13287)
+++ branches/community/Seam_2_2/src/main/org/jboss/seam/Component.java 2010-06-22 16:43:19 UTC (rev 13288)
@@ -2051,7 +2051,8 @@
return getInstanceFromFactory(name, null);
}
- private static synchronized Object getInstanceFromFactory(String name, ScopeType scope)
+ // JBSEAM-4669: Removed the "synchronized" keyword
+ private static Object getInstanceFromFactory(String name, ScopeType scope)
{
Init init = Init.instance();
if (init==null) //for unit tests, yew!
More information about the seam-commits
mailing list