You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Seifert (JIRA)" <ji...@apache.org> on 2017/10/12 14:49:00 UTC
[jira] [Created] (SLING-7193) osgi-mock:
MockServiceReferences.compareTo reverses ordering
Stefan Seifert created SLING-7193:
-------------------------------------
Summary: osgi-mock: MockServiceReferences.compareTo reverses ordering
Key: SLING-7193
URL: https://issues.apache.org/jira/browse/SLING-7193
Project: Sling
Issue Type: Bug
Components: Testing
Affects Versions: Testing OSGi Mock 2.3.2, Testing OSGi Mock 1.9.6
Reporter: Stefan Seifert
Assignee: Stefan Seifert
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.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)