Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
framework-1.8.1
-
None
Description
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.