commit | 84ac93743dadd01cd8f95f98f38e7509cb742eff | [log] [tgz] |
---|---|---|
author | Marcel Offermans <marrs@apache.org> | Mon May 30 09:59:24 2011 +0000 |
committer | Marcel Offermans <marrs@apache.org> | Mon May 30 09:59:24 2011 +0000 |
tree | c9a203d8c8ebda97fc2156fe269a776ff10ea1e8 | |
parent | 3d2e194598bbfce4c023f04021f4e210c68c9113 [diff] |
FELIX-2976 fixed the issue by checking if the key is actually in the cache with a null value git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1129101 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java b/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java index f59d01c..e6664d2 100644 --- a/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java +++ b/dependencymanager/core/src/main/java/org/apache/felix/dm/InvocationUtil.java
@@ -92,6 +92,10 @@ 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 {