Konrad Windszus created SLING-5667:
--------------------------------------
Summary: 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
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)