Description
The generated code for
{"namespace": "org.apache.avro.codegentest.some", "type": "record", "name": "NestedSomeNamespaceRecord", "doc" : "Test nested types with different namespace than the outer type", "fields": [ { "name": "nestedRecord", "type": { "namespace": "org.apache.avro.codegentest.other", "type": "record", "name": "NestedOtherNamespaceRecord", "fields": [ { "name": "someField", "type": "int" } ] } }] }
doesn't compile, because customEncode and customDecode methods are protected.
Attachments
Issue Links
- duplicates
-
AVRO-2372 Compiler can generate breaking code when there are cross-namespace type references
- Resolved
- links to