[ https://issues.apache.org/jira/browse/AVRO-247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-247: ------------------------------ Attachment: AVRO-247.patch Here's a patch that defines a Stringable annotation and adds a test for it. It also fixes the interop test, but unfortunately not by using the Stringable annotation, but rather by commenting out the failing test case. This bug was created when specific and reflect diverged in their representation of Avro strings. Specific uses Utf8 while reflect uses java.lang.String. The generated specific code has a field whose type is Utf8 that we cannot assign a java.lang.String to. We could define a version of Interop.java for reflect, but then we'd need to load it with a different class loader. I don't think this is worthwhile. Testing interoperability of specific and generic with python, c, etc. is sufficient. Thoughts? > Broken test: org.apache.avro.TestDataFile$InteropTest.testGeneratedReflect() > ---------------------------------------------------------------------------- > > Key: AVRO-247 > URL: https://issues.apache.org/jira/browse/AVRO-247 > Project: Avro > Issue Type: Bug > Components: java > Reporter: Philip Zeyliger > Fix For: 1.3.0 > > Attachments: AVRO-247.patch > > > The current trunk has a broken java-interop test. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.