You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Milos Kleint (JIRA)" <ji...@codehaus.org> on 2014/01/24 08:07:49 UTC

[jira] (MNG-5568) ComparableVersion's breaks contract for Comparable, in some edgecases the comparisons are not transitive

Milos Kleint created MNG-5568:
---------------------------------

             Summary: ComparableVersion's breaks contract for Comparable, in some edgecases the comparisons are not transitive
                 Key: MNG-5568
                 URL: https://jira.codehaus.org/browse/MNG-5568
             Project: Maven 2 & 3
          Issue Type: Bug
          Components: Artifacts and Repositories
    Affects Versions: 3.0.5
            Reporter: Milos Kleint
            Priority: Critical
         Attachments: ComparableVersion.patch

if ComparableVersion A > B and B > C, then it's required that A > C. In the attached test patch, I'm demonstrating a case where it's failing. Please note that the situation is not that rare, please see issues https://netbeans.org/bugzilla/show_bug.cgi?id=226100 and https://netbeans.org/bugzilla/show_bug.cgi?id=240845 at netbeans.org and https://jira.codehaus.org/browse/MPIR-247

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira