You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2020/03/28 14:59:02 UTC

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

    [ https://issues.apache.org/jira/browse/MNG-5568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17069563#comment-17069563 ] 

Hudson commented on MNG-5568:
-----------------------------

Build failed in Jenkins: Maven TLP » maven-studies » maven-metrics #4

See https://builds.apache.org/job/maven-box/job/maven-studies/job/maven-metrics/4/

> ComparableVersion's breaks contract for Comparable, in some edgecases the comparisons are not transitive
> --------------------------------------------------------------------------------------------------------
>
>                 Key: MNG-5568
>                 URL: https://issues.apache.org/jira/browse/MNG-5568
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.5
>            Reporter: Milos Kleint
>            Assignee: Herve Boutemy
>            Priority: Critical
>             Fix For: 3.2.5
>
>         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 was sent by Atlassian Jira
(v8.3.4#803005)