You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2009/09/26 00:18:16 UTC

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

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

Doug Cutting resolved AVRO-96.
------------------------------

       Resolution: Duplicate
    Fix Version/s: 1.2.0

> packageName argument ReflectDatumReader fragile
> -----------------------------------------------
>
>                 Key: AVRO-96
>                 URL: https://issues.apache.org/jira/browse/AVRO-96
>             Project: Avro
>          Issue Type: Improvement
>          Components: java
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Eelco Hillenius
>            Priority: Trivial
>             Fix For: 1.2.0
>
>         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.