jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-147) Incorrect Comparator in CommitBuilder.persistStagedNodes
Date Fri, 22 Jun 2012 08:52:42 GMT
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

        

Mime
View raw message