Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
4.2
-
None
-
New
Description
IntsRef, BytesRef and CharsRef implementation do not follow the java Arrays.hashCode implementation, and return incorrect hashcode when filled with 0.
For example, an IntsRef with { 0 } will return the same hashcode than an IntsRef with { 0, 0 }.