DBRef hashCode is broken

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.9.0
    • Affects Version/s: 2.7.3
    • Component/s: API
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      DBRef (through DBRefBase) defines an equals() method but no hashCode()
      Two equal objects are hashed using Object hashCode() with different hashes.
      add, remove, contains etc. don't work properly for hash based collections.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Ori Dar
              None
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: