-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
-
None
Consider this
Bundle-SymbolicName: jbosgi323-bundleA
Import-Package: org.jboss.test.osgi.container.classloader.support.a
Bundle-SymbolicName: jbosgi323-bundleB
Export-Package:
org.jboss.test.osgi.container.classloader.support.a,
org.jboss.test.osgi.container.classloader.support.b
So moduleA has a dependency on moduleB because A imports package 'a' which B exports.
However, loading a class from package 'b' through A is expected to fail, because A does not import nor contain package 'b'
Currently this usecase fails (i.e. the class from b can be loaded through A) because you cannot control the paths that a module imports.