Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-783

.equals java method is broken on structs containing binary-type fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • 0.4
    • Java - Compiler
    • None

    Description

      The generated code uses field1.equals(field2) (which is never the case except for the trivial one of field1==field2) instead of Arrays.equals(field1, field2).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jbellis Jonathan Ellis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: