Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-632

Sort order returned by SUPERCLASS_COMPARATOR in ReflectiveRelMetadataProvider is inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0-incubating
    • None
    • None

    Description

      By default, 1 is returned. However, when none of the classes is a super class of the other one, this could lead to inconsistent order as the Comparable will return the same result e.g. compare(Exchange, Sort) = 1 and compare(Sort, Exchange) = 1.

      Attachments

        Issue Links

          Activity

            People

              jcamacho Jesús Camacho Rodríguez
              jcamacho Jesús Camacho Rodríguez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: