You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Richard S. Hall (JIRA)" <ji...@apache.org> on 2012/07/02 00:32:51 UTC

[jira] [Resolved] (FELIX-3514) Enable support for dynamic import

     [ https://issues.apache.org/jira/browse/FELIX-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard S. Hall resolved FELIX-3514.
------------------------------------

    Resolution: Fixed
      Assignee: Richard S. Hall

Ok, I've committed my patch with a further modification to check whether the dynamic import shadows an existing package source. If it does, I throw an IllegalArgumentException. Tom, perhaps you could look at this commit and see if it seems good to you. If it does, please close this issue since I'm resolving it as fixed. Thanks!
                
> 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
>            Assignee: Richard S. Hall
>         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