commit | dc9063590cdc1e9788bb78286124bce6702bf047 | [log] [tgz] |
---|---|---|
author | Richard S. Hall <rickhall@apache.org> | Tue Jun 02 18:21:48 2009 +0000 |
committer | Richard S. Hall <rickhall@apache.org> | Tue Jun 02 18:21:48 2009 +0000 |
tree | 66e794f8c12a65721c6ed40410c957b7add557e1 | |
parent | d3fc8bf643e21c43957cc9544b99678a7fd7d357 [diff] |
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();