Uploaded image for project: 'Johnzon'
  1. Johnzon
  2. JOHNZON-91

MapperTest#justObjectAsModel fails with java7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.4
    • 0.9.4
    • Mapper
    • None

    Description

      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

      Attachments

        Activity

          People

            rsandtner Reinhard Sandtner
            rsandtner Reinhard Sandtner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: