Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D680010E19 for ; Wed, 26 Feb 2014 22:41:29 +0000 (UTC) Received: (qmail 65287 invoked by uid 500); 26 Feb 2014 22:41:23 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 65040 invoked by uid 500); 26 Feb 2014 22:41:21 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 64948 invoked by uid 99); 26 Feb 2014 22:41:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2014 22:41:20 +0000 Date: Wed, 26 Feb 2014 22:41:20 +0000 (UTC) From: "Ryan Blue (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1458) Setting char record field via reflection affects other fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13913638#comment-13913638 ] Ryan Blue commented on AVRO-1458: --------------------------------- The patch fixes the bug for me, and catches the error correctly in the tests when the actual fix is not applied. > Setting char record field via reflection affects other fields > ------------------------------------------------------------- > > Key: AVRO-1458 > URL: https://issues.apache.org/jira/browse/AVRO-1458 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.7.5 > Reporter: Tom White > Assignee: Tom White > Priority: Blocker > Fix For: 1.7.7 > > Attachments: AVRO-1458.patch > > > Calling ReflectData#setField for a char field causes a previously set field (e.g. boolean or byte) to become unset. -- This message was sent by Atlassian JIRA (v6.1.5#6160)