avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eelco Hillenius (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AVRO-96) packageName argument ReflectDatumReader fragile
Date Tue, 18 Aug 2009 16:57:14 GMT

     [ 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.


Mime
View raw message