felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart McCulloch (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FELIX-799) ServiceReferenceImpl does not support the compareTo() method
Date Wed, 05 Nov 2008 16:53:44 GMT

     [ https://issues.apache.org/jira/browse/FELIX-799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stuart McCulloch closed FELIX-799.
----------------------------------


Tested and it works great - closing issue.

> ServiceReferenceImpl does not support the compareTo() method
> ------------------------------------------------------------
>
>                 Key: FELIX-799
>                 URL: https://issues.apache.org/jira/browse/FELIX-799
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework, Specification compliance
>    Affects Versions: felix-1.2.2
>            Reporter: Stuart McCulloch
>            Assignee: Richard S. Hall
>             Fix For: felix-1.4.0
>
>         Attachments: FELIX-799.txt
>
>
> The current ServiceReferenceImpl does not support the compareTo() method, introduced
in release 4.1 of the OSGi spec:
>    http://www.osgi.org/javadoc/r4v41/org/osgi/framework/ServiceReference.html#compareTo(java.lang.Object)
> I'm also going to link to the general contract for compareTo() in the Java spec, as it
explains what happens when comparing against different types:
>    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Comparable.html#compareTo(java.lang.Object)
> I'll attach an initial patch which should work according to the spec, although I have
not tested it thoroughly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message