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/19 00:42:15 UTC

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

    [ https://issues.apache.org/jira/browse/AVRO-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744762#action_12744762 ] 

Eelco Hillenius commented on AVRO-96:
-------------------------------------

Ok, so documenting ReflectDatumReader's constructor would suffice then.

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