Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Testing OSGi Mock 1.9.6, Testing OSGi Mock 2.3.2
Description
according to specification the compareTo method of the OSGi Framework ServiceReference implementation should implement an ascending ordering, with lowest ranking/highest service id first.
in osgi-mock this is contrary - highest ranking/lowest service id first. this has no effect on the MockBundleContext.getServiceReference method - this correctly returns the service with the highest ranking/lowest service id.
Attachments
Issue Links
- is related to
-
SLING-10124 OSGi Mock - Service reference order is not correct for Collection field injection
- Closed
- supercedes
-
SLING-7196 sling-mock: Make sure SlingContext.registerAdapter can overlay built-in adaptions
- Closed