directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-928) Comparator may fail
Date Sat, 12 May 2007 16:17:15 GMT
Comparator may fail
-------------------

                 Key: DIRSERVER-928
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-928
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: ldap
    Affects Versions: 1.0.1, 1.5.0
            Reporter: Emmanuel Lecharny
            Priority: Critical


The org.apache.directory.shared.ldap.schema.ComparableComparator may fail if none of the two
object implements the Comparable interface. As the last test is a comparison of their hashcode
value, there is no guarantee that if they are equal, objects are equal.

We should throw an exception if the objects don't implement the Comparable interface. 

-- 
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