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

        

Reply via email to