Hi All, I am using OSGi as a platform for an application that has a bundle, "B", and a target platform, "TP". Within TP there is a folder containing two jars, "J1" and "J2".
"B" calls code in "J1" that tries to load a class "C" from "J2". While code in "B" can load "C" without a problem, (because "J2" is correctly listed in "B"'s MANIFEST.MF), code in "J1" cannot load "C". Further investigation shows that the ContextFinder, when called to load "C" from "J1", traverses the stack until reaching the BundleClassLoader/DefaultClassLoader associated with "J1", whose "domains" field includes only "J1". Is there a way to specify in OSGi that "J1" depends on "J2", without wrapping each jar in its own bundle? Thanks, Aron
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
