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

TUnion does not correctly deep copy a ByteBuffer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.5
    • 0.6
    • Java - Library
    • None
    • Patch Available

    Description

      When a TUnion makes a deep copy of an object, it currently returns the original byte buffer when the union is set to be a byte buffer.

      This should be changed to a TBaseHelper.copyBinary call.

      Attachments

        1. THRIFT-1009.patch
          0.8 kB
          Takashi Yonebayashi

        Activity

          People

            takashi.yonebayashi Takashi Yonebayashi
            takashi.yonebayashi Takashi Yonebayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: