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

David Bosschaert updated FELIX-5049:
------------------------------------
    Attachment: felix-5049.diff

There is still a possibility (and this is what is exposed in ARIES-1398) that 
both bundles are resolved. The major and minor versions of the package are the 
same. In this particular case the micro version is different. The framework 
provides 1.0.0 and registers a service. The bundle provides 1.0.1 but does not 
register a service. The felix-5049.diff patch proposes a solution to this that 
prefers the provider that has the most services registered in the package at 
hand, if the major and minor versions are identical and both of them are 
resolved.

> Resolver does not choose the revision with the lowest bundle ID
> ---------------------------------------------------------------
>
>                 Key: FELIX-5049
>                 URL: https://issues.apache.org/jira/browse/FELIX-5049
>             Project: Felix
>          Issue Type: Bug
>          Components: Resolver
>    Affects Versions: framework-5.2.0
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>         Attachments: felix-5049.diff
>
>
> The Felix Resolver does not pick the exporting bundle with the lowest bundle 
> ID when multiple bundles export the same package. This causes 
> [ARIES-1398|https://issues.apache.org/jira/browse/ARIES-1398]. For steps on 
> how to reproduce see that issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to