[ https://issues.apache.org/jira/browse/AVRO-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doug Cutting updated AVRO-208: ------------------------------ Component/s: (was: java) spec Well, we could declare that duplicate symbols are allowed, and that references should resolve to the first instance or somesuch. But that would be silly. So disallowing them in the spec is probably best, and it would be best if implementations checked this. So the problem is more general than Java's specific compiler. The schema parser/constructor for each implementation should check for duplicate symbols. > java specific compiler doesn't check for ambiguous enums > -------------------------------------------------------- > > Key: AVRO-208 > URL: https://issues.apache.org/jira/browse/AVRO-208 > Project: Avro > Issue Type: Bug > Components: spec > Affects Versions: 1.2.0 > Reporter: Patrick Hunt > > the java specific compiler flags ambiguous unions but not enums > "response": {"name":"E1", "type":"enum", "symbols":["AA", "AA"]}, -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.