Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-1.6.1
-
None
-
generic
Description
Refer to a previous discussion in dev alias:
http://mail-archives.apache.org/mod_mbox/felix-users/200804.mbox/%3c487a994c0804010552n35fc44eew34b34a1795e14d6f@mail.gmail.com%3e
Currently, although Felix uses the classloader that loads Felix classes as the parent class loader for delegation, it actually sets system class loader as the parent (ClassLoader.getParent()). It is because when it creates a class loader, it does not set any parent, hence the default value is used. The fix should be particularly simple. e.g., get hold of a Felix framework class and use its classloader as the parent.
Attachments
Attachments
Issue Links
- is related to
-
FELIX-1193 Implement org.osgi.framework.bundle.parent from RFC 132
- Closed