Author: akazakov
Date: 2011-10-18 13:47:13 -0400 (Tue, 18 Oct 2011)
New Revision: 35767
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/JarAccessFactory.java
Log:
https://issues.jboss.org/browse/JBIDE-9917 Deadlock in JarAccessFactory.getJarAccess()
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/JarAccessFactory.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/JarAccessFactory.java 2011-10-18
17:38:59 UTC (rev 35766)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/model/filesystems/impl/JarAccessFactory.java 2011-10-18
17:47:13 UTC (rev 35767)
@@ -5,7 +5,7 @@
public class JarAccessFactory {
- static Map<String, JarAccess> jars = new HashMap<String, JarAccess>();
+ private static Map<String, JarAccess> jars = new HashMap<String,
JarAccess>();
public synchronized static JarAccess getJarAccess(String location, JarSystemImpl
context) {
JarAccess jar = jars.get(location);