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