Set module class loader parent to the same class loader used for boot
delegation. (FELIX-1190)


git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@781113 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
index 16827e6..f1e8338 100644
--- a/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
+++ b/framework/src/main/java/org/apache/felix/framework/searchpolicy/ModuleImpl.java
@@ -1449,6 +1449,9 @@
 
         public ModuleClassLoader()
         {
+            // Set parent class loader to the same class loader
+            // used for boot delegation.
+            super(ModuleImpl.this.getClass().getClassLoader());
             if (m_dexFileClassLoadClass != null)
             {
                 m_jarContentToDexFile = new HashMap();