Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-563

Mutable/ImmutableOffsetMap do not conform to their promised contract

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 4803

    Description

      The current implementation does not correctly retain iteration order, even though it promises to do so (and is used in those contexts).

      Furthermore the implementation retains KeySet from the original map if such a mapping does not exist.

      And the .equals() implementation does not conform to Map.equals() contract.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: