avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Cutting (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AVRO-809) SpecificData.getClassName give wrong Class name when namespace==""
Date Wed, 18 May 2011 09:31:47 GMT

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

Doug Cutting updated AVRO-809:
------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I committed this.

> SpecificData.getClassName give wrong Class name when namespace==""
> ------------------------------------------------------------------
>
>                 Key: AVRO-809
>                 URL: https://issues.apache.org/jira/browse/AVRO-809
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.5.0
>            Reporter: Binglin Chang
>            Assignee: Doug Cutting
>             Fix For: 1.5.2
>
>         Attachments: AVRO-809.patch
>
>
> ReflectData.createSchema and ReflectData.getProtocol generate namespace "" when the class
have no namespace, but SpecificData.getClassName generate wrong class names when namespace
equals ""
> For example, class "Hello" generates ".Hello"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message