[
https://issues.apache.org/jira/browse/FELIX-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400051#comment-13400051
]
Richard S. Hall commented on FELIX-3514:
----------------------------------------
Overall, this patch looks good. I've slightly modified it in my attached patch.
The main thing I tried to do was eliminate the one getDynamicImportCandidates()
method, since it doesn't seem to be necessary now. The one thing that is still
missing is the check to make sure the dynamic import doesn't shadow an existing
package source, but I think we can do this in calculatePackageSpaces(), I just
need to think a little more about how precisely to do it.
> Enable support for dynamic import
> ---------------------------------
>
> Key: FELIX-3514
> URL: https://issues.apache.org/jira/browse/FELIX-3514
> Project: Felix
> Issue Type: Bug
> Components: Resolver
> Environment: All
> Reporter: Thomas Watson
> Attachments: 3514.txt, FELIX-3514.txt
>
>
> The OSGi R5 Resolver API does not provide a way to (easily) resolve dynamic
> imports. This is important if the resolver is to be used at runtime. The
> current resolver implementation has a bit of disabled code commented out that
> could be used to implement this. I will attach a patch that enables a new
> method on ResolverImpl to enable dynamic resolution.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira