Fix bug in patch which was always causing boot delegation. (FELIX-1991)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@902871 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java b/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
index dfcd368..2fcb18e 100644
--- a/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/ModuleImpl.java
@@ -1576,7 +1576,7 @@
     {
         // Always boot delegate if the bundle has a configured
         // boot class loader.
-        if (m_classLoader != m_defBootClassLoader)
+        if (m_bootClassLoader != m_defBootClassLoader)
         {
             return true;
         }