[
http://jira.codehaus.org/browse/MERCURY-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=157641#action_157641
]
Brett Porter commented on MERCURY-57:
-------------------------------------
It appears the resolution behaviour is different on the two JDKs, probably due
to Map ordering. It resolved b1 instead of b2.
> Mercury SAT tests fail on JDK 6
> -------------------------------
>
> Key: MERCURY-57
> URL: http://jira.codehaus.org/browse/MERCURY-57
> Project: Mercury
> Issue Type: Bug
> Affects Versions: 1.0.0-alpha-2
> Reporter: Brett Porter
> Assignee: Oleg Gusakov
>
> See http://markmail.org/message/dnyvysrvqgzfyomh
> Failed tests:
> testSingleVersionResolution(org.apache.maven.mercury.metadata.sat.DefaultSatSolverTest)
> testStrictRangeResolution(org.apache.maven.mercury.metadata.sat.DefaultSatSolverTest)
> Tests run: 21, Failures: 2, Errors: 0, Skipped: 0
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> They pass on JDK 5, so this appears to be the difference.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira