Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-4098

DataContainer Equivalence is not used properly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 7.0.0.Alpha1
    • Fix Version/s: 9.0.0.Beta1
    • Component/s: Core
    • Labels:
      None

      Description

      The DefaultDataContainer uses an EquivalentHashMap under the scenes. The values() method doesn't return a collection that obeys the value Equivalence however. Also to note the provided value equivalence would have to be wrapped with an Equivalence for ICE to be used properly as shown with the new typing changes in ISPN-4079.

      Also to note any users of DataContainer values, keySet methods would have to also use the proper equivalence. An example is the KeySetCommand, ValuesCommand and EntrySetCommand should obey these Equivalences.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                william.burns Will Burns
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: