You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2010/02/25 17:54:28 UTC

[jira] Updated: (FELIX-2138) The resolver should prefer required resources over optional resources to minimize the set of required resources

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

Guillaume Nodet updated FELIX-2138:
-----------------------------------

    Summary: The resolver should prefer required resources over optional resources to minimize the set of required resources  (was: The resolver sometimes fails to resolve against local resources)

> The resolver should prefer required resources over optional resources to minimize the set of required resources
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2138
>                 URL: https://issues.apache.org/jira/browse/FELIX-2138
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>             Fix For: bundlerepository-1.6.0
>
>
> When looking for resources matching a requirement, there is this test:
>             // We don't need to look at resources we've already looked at.
>             if (!m_failedSet.contains(resources[resIdx])
>                 && !m_resolveSet.contains(resources[resIdx]))
>             {
> Unfortunately, it's wrong because the m_resolveSet may have changed since the call to searchResolvingResources() so we can't ignore already resolved resources here.

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