[ https://issues.apache.org/jira/browse/MNG-7701?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17691314#comment-17691314 ]
Elliotte Rusty Harold commented on MNG-7701: -------------------------------------------- Underscore comes after all alphabetic characters in lexicographic order. 1_y is effectively the same as 1._y. Therefore 1.x < 1_y 1.y < 1_x I now think the 3.8.6 behavior was correct for these two cases and 3.8.7 is buggy > Incompatible version sorting changes > ------------------------------------ > > Key: MNG-7701 > URL: https://issues.apache.org/jira/browse/MNG-7701 > Project: Maven > Issue Type: Bug > Components: Core > Affects Versions: 3.8.7, 3.9.0 > Reporter: David M. Lloyd > Priority: Major > Fix For: 3.8.x-candidate, 3.9.1-candidate, waiting-for-feedback > > > Between 3.8.6 and 3.8.7, the sorting of a variety of version strings has > changed. This table captures the observed relations: > ||Input 1||3.8.6||3.8.7||Input 2|| > |{{0.x}}|{{>}}|{{==}}|{{0-x}}| > |{{1.x}}|{{<}}|{{==}}|{{1-x}}| > |{{1.x}}|{{<}}|{{>}}|{{1_y}}| > |{{1.y}}|{{<}}|{{>}}|{{1_x}}| > |{{1-alpha}}|{{>}}|{{==}}|{{1.alpha}}| -- This message was sent by Atlassian Jira (v8.20.10#820010)