felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1129101 - /felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java
Date Mon, 30 May 2011 09:59:25 GMT
Author: marrs
Date: Mon May 30 09:59:24 2011
New Revision: 1129101

URL: http://svn.apache.org/viewvc?rev=1129101&view=rev
Log:
FELIX-2976 fixed the issue by checking if the key is actually in the cache with a null value

Modified:
    felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java

Modified: felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java?rev=1129101&r1=1129100&r2=1129101&view=diff
==============================================================================
--- felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java
(original)
+++ felix/trunk/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java
Mon May 30 09:59:24 2011
@@ -92,6 +92,10 @@ public class InvocationUtil {
             if (m != null) {
                 return m;
             }
+            else if (m_methodCache.containsKey(key)) {
+                // the key is in our cache, it just happens to have a null value
+                return null;
+            }
         }
         // then do a lookup
         try {



Mime
View raw message