The issue here is that the dynamic import metadata isn't getting mapped to
a PackageRequirement at the moment (see OSGiBundleClassLoadingDeployer for the TODO).
The reason I haven't done it, is because the OSGi metadata lets you specify
the packages using wildcards, while the current jboss implementation
only lets you do explicit package names.
See
org.jboss.classloading.spi.dependency.policy.DynamicClassLoaderPolicyFactory
and related classes.
I could make your test work (since it doesn't use wildcards) but that wouldn't be
the
full solution.
There's a similar issue for the "uses" constraint.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255139#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...