Sahoo wrote:
Here is what I think is an interesting scenario:

Bundle A
------------
Bundle-SymbolicName: A
Import-Package: p; resolution:=optional; company=FOO
DynamicImport-Package: *

Bundle B
------------
Bundle-SymbolicName: B
Export-Package: p


Both A & B are installed. When A gets resolved, a wire could not be established for package p, because attribute did not match. Now at runtime, when A loads a resource from package p, because of presence of DynamicImport-Package=*, p gets wired to bundle B! This sounds counter intuitive to me. What do you think?

No, this is not counter intuitive because your dynamic import is more broad than your static import. If you put a matching attribute on your dynamic import, then it won't match p either. If anything, this is a poorly specified bundle.

-> richard


Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to