Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Testing OSGi Mock 2.0.2
-
None
Description
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.
Attachments
Issue Links
- is related to
-
SLING-6957 Failing tests when updating version of org.apache.sling.serviceusermapper to 1.3.2
- Closed
- relates to
-
SLING-5041 Clarify the order of the iterator given by RankedServices
- Closed