Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 66288 invoked from network); 1 Jul 2007 13:00:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2007 13:00:38 -0000 Received: (qmail 52996 invoked by uid 500); 1 Jul 2007 13:00:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 52961 invoked by uid 500); 1 Jul 2007 13:00:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 52950 invoked by uid 99); 1 Jul 2007 13:00:40 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 06:00:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 06:00:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E380271413F for ; Sun, 1 Jul 2007 06:00:13 -0700 (PDT) Message-ID: <21058364.1183294813927.JavaMail.jira@brutus> Date: Sun, 1 Jul 2007 06:00:13 -0700 (PDT) From: "Emmanuel Lecharny (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-928) Comparator may fail In-Reply-To: <19840777.1178986635523.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSERVER-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Emmanuel Lecharny updated DIRSERVER-928: ---------------------------------------- Fix Version/s: 1.0.3 1.5.1 Let's fix this issue > 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 > Fix For: 1.5.1, 1.0.3 > > > 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.