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

ReplicateCommand comparing arrays equality wrongly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.0.0.ALPHA1, 4.0.0.Final
    • None
    • Core
    • None

    Description

      ReplicateCommand.equals() is comparing ReplicableCommand[] arrays for equality in the wrong way. Instead of:

      commands.equals(that.commands)

      It should be comparing them via:

      Arrays.equals(commands, that.commands)

      Found this while testing new marshalling layer.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: