GenericArray breaks List.equals specification [java]
----------------------------------------------------
Key: AVRO-1000
URL: https://issues.apache.org/jira/browse/AVRO-1000
Project: Avro
Issue Type: Bug
Components: java
Environment: Java API
Reporter: Sylvain Lebresne
GenericArray (or more precisely GenericData$Array) implements the
java.util.List interface but breaks the equals specification (and the hashCode
one if it's coherent though I haven't checked). More precisely, no List can be
equal to a GenericArray unless it is a GenericArray itself. It makes using a
"List" from an Avro Object fairly dangerous to use.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira