Avro
  1. Avro
  2. AVRO-978

Java: reflect doesn't handle byte fields correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.2
    • Component/s: java
    • Labels:
      None
    1. AVRO-978.patch
      5 kB
      Doug Cutting

      Activity

      Doug Cutting made changes -
      Status Resolved [ 5 ] Closed [ 6 ]
      Doug Cutting made changes -
      Component/s java [ 12312780 ]
      Doug Cutting made changes -
      Status Patch Available [ 10002 ] Resolved [ 5 ]
      Resolution Fixed [ 1 ]
      Hide
      Doug Cutting added a comment -

      I committed this.

      Show
      Doug Cutting added a comment - I committed this.
      Doug Cutting made changes -
      Status Open [ 1 ] Patch Available [ 10002 ]
      Assignee Doug Cutting [ cutting ]
      Fix Version/s 1.6.2 [ 12319074 ]
      Hide
      Doug Cutting added a comment -

      I'll commit this soon unless someone objects.

      Show
      Doug Cutting added a comment - I'll commit this soon unless someone objects.
      Doug Cutting made changes -
      Field Original Value New Value
      Attachment AVRO-978.patch [ 12507095 ]
      Hide
      Doug Cutting added a comment -

      Here's a patch that causes the Java reflect implementation to treat Byte like Short, with tests. A minor improvement to two error messages is also included.

      Show
      Doug Cutting added a comment - Here's a patch that causes the Java reflect implementation to treat Byte like Short, with tests. A minor improvement to two error messages is also included.
      Doug Cutting created issue -

        People

        • Assignee:
          Doug Cutting
          Reporter:
          Doug Cutting
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development