Renaud Delbru created LUCENE-4919: ------------------------------------- Summary: IntsRef, BytesRef and CharsRef returns incorrect hashcode when filled with 0 Key: LUCENE-4919 URL: https://issues.apache.org/jira/browse/LUCENE-4919 Project: Lucene - Core Issue Type: Bug Components: core/other Affects Versions: 4.2 Reporter: Renaud Delbru Fix For: 4.3
IntsRef, BytesRef and CharsRef implementation does not follow the java Arrays.hashCode implementation, and returns incorrect hashcode when filled with 0. For example, an IntsRef with { 0 } will return the same hashcode than an IntsRef with { 0, 0 }. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org