Raj Saha created AVRO-3822:
------------------------------
Summary: [JAVA] Avro 1.11.2 Incorrect comparison of empty maps
Key: AVRO-3822
URL: https://issues.apache.org/jira/browse/AVRO-3822
Project: Apache Avro
Issue Type: Bug
Components: java
Affects Versions: 1.11.2
Reporter: Raj Saha
In the GenericData class the method compareMaps fails when both of the maps
passed are empty .
The issue is being caused
[here|https://github.com/apache/avro/blob/4c8497031053bfe68cc8cd7928c027d5b4ef4a07/lang/java/avro/src/main/java/org/apache/avro/generic/GenericData.java#L1192]
, When both the maps are empty the iterator ends up throwing
java.util.NoSuchElementException
--
This message was sent by Atlassian Jira
(v8.20.10#820010)