Andy Gumbrecht created OPENEJB-2070: ---------------------------------------
Summary: Potential deadlock in URLClassLoaderFirst Key: OPENEJB-2070 URL: https://issues.apache.org/jira/browse/OPENEJB-2070 Project: OpenEJB Issue Type: Bug Components: container system Affects Versions: 4.6.0 Environment: NA Reporter: Andy Gumbrecht Fix For: 4.6.1 Calling org.apache.openejb.util.classloader.URLClassLoaderFirst#loadClass from one thread may cause a deadlock if Class.forName is called from another thread, as this internally calls ClassLoader.getCallerClassLoader() - Which may be the same URLClassLoaderFirst instance. Adding an ReentrantLock should be a viable solution. -- This message was sent by Atlassian JIRA (v6.1.5#6160)