Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-96

packageName argument ReflectDatumReader fragile

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 1.0.0, 1.1.0
    • 1.2.0
    • java
    • None

    Description

      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.

      Attachments

        1. AVRO-96.patch
          0.5 kB
          Eelco Hillenius

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ehillenius Eelco Hillenius
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: