Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8711D909A for ; Fri, 22 Jun 2012 08:52:44 +0000 (UTC) Received: (qmail 60395 invoked by uid 500); 22 Jun 2012 08:52:44 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 60305 invoked by uid 500); 22 Jun 2012 08:52:43 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 60270 invoked by uid 99); 22 Jun 2012 08:52:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jun 2012 08:52:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 9564E14001F for ; Fri, 22 Jun 2012 08:52:42 +0000 (UTC) Date: Fri, 22 Jun 2012 08:52:42 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: oak-dev@jackrabbit.apache.org Message-ID: <1415595125.43415.1340355162614.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (OAK-147) Incorrect Comparator in CommitBuilder.persistStagedNodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jukka Zitting created OAK-147: --------------------------------- Summary: Incorrect Comparator in CommitBuilder.persistStagedNodes Key: OAK-147 URL: https://issues.apache.org/jira/browse/OAK-147 Project: Jackrabbit Oak Issue Type: Bug Components: mk Reporter: Jukka Zitting Assignee: Jukka Zitting Priority: Minor The comparator in .mk.model.CommitBuilder.persistStagedNodes does not fulfill the general Comparator contract (most notably: compare(X, X) == 0), which every now and then causes the Collections.sort() method to throw exceptions about unexpected comparison behavior. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira