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/05/10 19:08:51 UTC

[jira] [Updated] (FELIX-3458) Resolver should populate results with wires to self

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

Richard S. Hall updated FELIX-3458:
-----------------------------------

    Attachment: FELIX-3458.txt

Suggested patch.
                
> Resolver should populate results with wires to self
> ---------------------------------------------------
>
>                 Key: FELIX-3458
>                 URL: https://issues.apache.org/jira/browse/FELIX-3458
>             Project: Felix
>          Issue Type: Bug
>          Components: Resolver
>         Environment: All
>            Reporter: Thomas Watson
>            Priority: Minor
>         Attachments: FELIX-3458.txt
>
>
> Except for the osgi.wiring.* namespaces, I think all other namespaces should include results where the Wire has the same provider and requirer.  Currently org.apache.felix.resolver.ResolverImpl.populateWireMap() has a check omits the wire from the result if a resource requriement gets wired to its own capability.
> This has to be done for osgi.wiring.package namespace because that is a case where the import got dropped in favor of the export.  But for other namespaces I am not sure that is a valid assumption.

--
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