Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-11948

Wrong ByteBuffer comparisons in TimeTypeTest

    Details

    • Severity:
      Low

      Description

      The last three tests in org.apache.cassandra.db.marshal.TimeTypeTest compare the returned values of AbstractType.compare() with -1 or 1. However, AbstractType.compare() is supposed to return a negative integer, zero, or a positive integer, and it does not necessarily return -1 or 1.

        Attachments

          Activity

            People

            • Assignee:
              ReiOdaira Rei Odaira
              Reporter:
              ReiOdaira Rei Odaira
              Authors:
              Rei Odaira
              Reviewers:
              Joshua McKenzie
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: