Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 58989 invoked from network); 18 Aug 2009 16:57:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Aug 2009 16:57:20 -0000 Received: (qmail 5037 invoked by uid 500); 18 Aug 2009 16:57:39 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 5009 invoked by uid 500); 18 Aug 2009 16:57:39 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 4999 invoked by uid 99); 18 Aug 2009 16:57:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 16:57:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Aug 2009 16:57:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CB2AA234C044 for ; Tue, 18 Aug 2009 09:57:14 -0700 (PDT) Message-ID: <851996617.1250614634820.JavaMail.jira@brutus> Date: Tue, 18 Aug 2009 09:57:14 -0700 (PDT) From: "Eelco Hillenius (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Updated: (AVRO-96) packageName argument ReflectDatumReader fragile In-Reply-To: <1374261922.1250614274973.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eelco Hillenius updated AVRO-96: -------------------------------- Attachment: AVRO-96.patch > packageName argument ReflectDatumReader fragile > ----------------------------------------------- > > Key: AVRO-96 > URL: https://issues.apache.org/jira/browse/AVRO-96 > Project: Avro > Issue Type: Bug > Components: java > Affects Versions: 1.0.0, 1.0.1 > Reporter: Eelco Hillenius > Priority: Minor > Fix For: 1.0.1 > > Attachments: AVRO-96.patch > > > Currently, the package name that you pass in to ReflectDatumReader needs to end with a dot. This should either be documented or the argument checking should be a bit more defensive. E.g. when you pass in new ReflectDatumReader("org.apache.avro"), it'll try to instantiate objects like org.apache.avroFoo. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.