On 11/26/13, 02:21 , Anacristing wrote:
Hello,

I'm studying osgi.core-5.0 specification.
I don't understand step 6 of search order in the section 3.9.4.
It says:
If the class or resource is in a package that is exported by the bundle or the package is imported by the bundle (using Import-Package or Require-Bundle), then the search ends and the class or
resource is not found.

I think if the class is found in this step, it should be already found in step 3, 4 or 5. In which case the class is not found in step 3, 4 or 5 but found here?

I don't believe that the "using Import-Package" package is necessary, but otherwise the rule makes sense. The whole point of that rule is to indicate that you cannot create a dynamic import for a package that is exported by the bundle or required from another bundle (i.e., the rule's purpose is to terminate the search before the dynamic import step for exported or required packages).

-> richard


Thank you.

Ana


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

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

Reply via email to