maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5568) ComparableVersion's breaks contract for Comparable, in some edgecases the comparisons are not transitive
Date Sat, 06 Dec 2014 22:41:10 GMT

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

Herve Boutemy commented on MNG-5568:
------------------------------------

yes: MPIR-247 is just a consequence of MNG-5568 bug, and I don't see how to create a workaround
in MPIR

> 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
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.5
>            Reporter: Milos Kleint
>            Assignee: Herve Boutemy
>            Priority: Critical
>             Fix For: 3.2.4
>
>         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
(v6.1.6#6162)

Mime
View raw message