Can anyone tell what is the correct behavior in the scenario described below?

Q1:
Bundle b1
Export-Package: p; uses:=q; version=1.0, q; version=1.0
Import-Package: p; q; version=1.0

Bundle b2
Export-Package: q; version=1.0
Import-Package: q; version=1.0

When b1 is being attempted to resolve, b2 is in INSTALLED state. Which bundle will bundle b1 be wired to for package q? Does it depend on the order of installation of bundles?

Q2:
What happens if I change bundle b1 to have a DynamicImport-Package for package q?

My objective is to not cause b2 to be resolved unnecessarily, hence the question.

Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to