Fix an oversight from the refactoring where we don't look for the correct name of the ModuleClassLoader class when looking-up the framework from the call-context (FELIX-1573).
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@812920 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/URLHandlers.java b/framework/src/main/java/org/apache/felix/framework/URLHandlers.java
index d6b444d..5f36842 100644
--- a/framework/src/main/java/org/apache/felix/framework/URLHandlers.java
+++ b/framework/src/main/java/org/apache/felix/framework/URLHandlers.java
@@ -587,7 +587,7 @@
for (int i = 0; i < stack.length; i++)
{
if ((stack[i].getClassLoader() != null) &&
- "org.apache.felix.framework.searchpolicy.ModuleImpl.ModuleClassLoader".equals(
+ "org.apache.felix.framework.searchpolicy.ModuleImpl$ModuleClassLoader".equals(
stack[i].getClassLoader().getClass().getName()))
{
targetClass = stack[i];