If I read section 3.7. correctly, when an import gets resolved internally to its own export that overlapping import is discarded. I take that to mean that the wire does not get created. If I am correct then it seems that in certain cases, package constraints are not properly adhered to.

If we have a bundle:

Export-Package: a,b;uses=a
Import-Package: a

When the import of "a" gets resolved internally to its own export of "a", that overlapping import is discarded. There's no wire to constrain users of package "b".

I may misunderstand something here.


Regards,
Alan

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to