Community
Participate
Working Groups
Build Identifier: 3.6.R4 and older There is very strange behavior when I try to load and run class that is placed in fragment bundle from host bundle. (This is simplified behavior, that is implemented in Jetty osgi.boot and osgi.boot.jsp bundles). 1. Host bundle imports org.xml.sax package 2. in the host bundle activator class from fragment bundle is loaded. The class implements BundleActivator interface 3. calls start#BundleContext method of loaded class where org.xml.sax.SAXException is thrown. 4. gets ClassNotFoundException in fragment class. Questions: 1. why is not host class loader used in this case? 2. why does it work inside Eclipse (Jetty SDK)? Thank you. Reproducible: Always Steps to Reproduce: sources and test framework in the attachment
Created attachment 171973 [details] test sources
Created attachment 171974 [details] test to reproduce the issue
found a problem