Resolver does not always resolve a dynamic import to a fragment export
----------------------------------------------------------------------

                 Key: FELIX-1435
                 URL: https://issues.apache.org/jira/browse/FELIX-1435
             Project: Felix
          Issue Type: Bug
          Components: Framework, Specification compliance
    Affects Versions: felix-1.8.1
            Reporter: Richard S. Hall
            Assignee: Richard S. Hall
            Priority: Minor
             Fix For: felix-2.0.0


Packages exported by fragments are not always seen by bundles dynamically 
importing them. For example, consider the following scenario:

Bundle A dynamically imports some package foo and is resolved, but no other 
bundles are present. Now a host and fragment are installed (but not resolved) 
where the fragment exports package foo. If A tries to access a class in foo, it 
will not get dynamically wired to the package, since the host/fragment pair 
will not be resolved.

If the host/fragment pair were installed prior to A being resolved, it does 
work, but this is more by accident than design. We need to explicitly attempt 
to resolve fragments during dynamic import resolution.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to