-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
This is expected to work
Class<?> clazz = bundle.loadClass(ObjectA.class.getName());
ClassLoader classLoader = clazz.getClassLoader();
assertTrue("Instance of BundleReference", classLoader instanceof BundleReference);
Bundle result = FrameworkUtil.getBundle(clazz);
assertEquals(bundle, result);
The returned ModuleLoader is not an instance of BundleReference