tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From andygumbre...@apache.org
Subject svn commit: r1042180 - /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java
Date Sat, 04 Dec 2010 13:54:19 GMT
Author: andygumbrecht
Date: Sat Dec  4 13:54:19 2010
New Revision: 1042180

URL: http://svn.apache.org/viewvc?rev=1042180&view=rev
Log:
Add third fall back option for removal of cached jar file. 

Modified:
    openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java

Modified: openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java
URL: http://svn.apache.org/viewvc/openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java?rev=1042180&r1=1042179&r2=1042180&view=diff
==============================================================================
--- openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java
(original)
+++ openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/ClassLoaderUtil.java
Sat Dec  4 13:54:19 2010
@@ -356,7 +356,12 @@ public class ClassLoaderUtil {
                         jarFile = (JarFile) fileCache.remove(key);
 
                         if (jarFile == null) {
-                            continue;
+
+							jarFile = (JarFile) fileCache.remove(jar);
+
+                            if (jarFile == null) {
+	                            continue;
+	                        }
                         }
                     }
 



Mime
View raw message