Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1281

ProxyAddress and UUID don't compareTo()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.12
    • 2.12
    • None

    Description

      When we present global views in RELAY, we mix local (UUID) and global (ProxyAddress) addresses. This works fine as both classes implement Address.
      However, when we sort them, there's a ClassCastException, because UUID.compareTo(ProxyAddress) fails. ProxyAddress.compareTo(UUID) works.

      ProxyAddressTest is the unit test for this.

      SOLUTION: add code in UUID.compare() that compares to a ProxyAddress

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: