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 C68DE90A6 for ; Fri, 22 Jun 2012 08:56:44 +0000 (UTC) Received: (qmail 67488 invoked by uid 500); 22 Jun 2012 08:56:44 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 67408 invoked by uid 500); 22 Jun 2012 08:56:44 -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 67377 invoked by uid 99); 22 Jun 2012 08:56:44 -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:56:44 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BDD9D14001F for ; Fri, 22 Jun 2012 08:56:43 +0000 (UTC) Date: Fri, 22 Jun 2012 08:56:42 +0000 (UTC) From: "Jukka Zitting (JIRA)" To: oak-dev@jackrabbit.apache.org Message-ID: <2024920434.43416.1340355403780.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1415595125.43415.1340355162614.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Resolved] (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 [ https://issues.apache.org/jira/browse/OAK-147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jukka Zitting resolved OAK-147. ------------------------------- Resolution: Fixed Fix Version/s: 0.3 Fixed in revision 1352808. > 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 > Fix For: 0.3 > > > 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