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

Stefan Seifert resolved SLING-5667.
-----------------------------------
       Resolution: Fixed
         Assignee: Stefan Seifert
    Fix Version/s: Testing OSGi Mock 2.0.4

Completed: At revision: 1741665  


> MockBundleContext.getServiceReference(...) does not return service reference 
> with highest ranking
> -------------------------------------------------------------------------------------------------
>
>                 Key: SLING-5667
>                 URL: https://issues.apache.org/jira/browse/SLING-5667
>             Project: Sling
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: Testing OSGi Mock 2.0.2
>            Reporter: Konrad Windszus
>            Assignee: Stefan Seifert
>             Fix For: Testing OSGi Mock 2.0.4
>
>
> According to 
> https://osgi.org/javadoc/r4v43/core/org/osgi/framework/BundleContext.html#getServiceReference%28java.lang.Class%29
>  the service reference being returned must be the one with the highest 
> ranking. Currently it returns just any service reference.



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

Reply via email to