[
https://issues.apache.org/jira/browse/JOHNZON-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Reinhard Sandtner resolved JOHNZON-91.
--------------------------------------
Resolution: Fixed
> MapperTest#justObjectAsModel fails with java7
> ---------------------------------------------
>
> Key: JOHNZON-91
> URL: https://issues.apache.org/jira/browse/JOHNZON-91
> Project: Johnzon
> Issue Type: Bug
> Components: Mapper
> Affects Versions: 0.9.4
> Reporter: Reinhard Sandtner
> Assignee: Reinhard Sandtner
> Fix For: 0.9.4
>
>
> this test fails because the ordering of a HashMap is undefined and an
> internal detail...
> with java8 the ordering is like it is expected in the test.
> if you run this test with java7, the implementation of HashMap uses
> HashMap$Entry for the entries and thus has another ordering algo (afaik the
> hashCode calculation) and so the test fails
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)