Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7193

osgi-mock: MockServiceReferences.compareTo reverses ordering

    XMLWordPrintableJSON

Details

    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

          Activity

            People

              sseifert Stefan Seifert
              sseifert Stefan Seifert
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: