You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Eelco Hillenius (JIRA)" <ji...@apache.org> on 2009/08/18 18:53:14 UTC

[jira] Updated: (AVRO-96) packageName argument ReflectDatumReader fragile

     [ https://issues.apache.org/jira/browse/AVRO-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eelco Hillenius updated AVRO-96:
--------------------------------

    Status: Patch Available  (was: Open)

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