You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jakob Zwiener (JIRA)" <ji...@apache.org> on 2014/01/30 13:06:09 UTC
[jira] [Created] (LUCENE-5423) OpenBitSet hashCode and equals
incongruent
Jakob Zwiener created LUCENE-5423:
-------------------------------------
Summary: OpenBitSet hashCode and equals incongruent
Key: LUCENE-5423
URL: https://issues.apache.org/jira/browse/LUCENE-5423
Project: Lucene - Core
Issue Type: Bug
Components: core/other
Affects Versions: 4.6.1
Reporter: Jakob Zwiener
In org.apache.lucene.util.OpenBitSet the hashCode method might return different hash codes for equal bitsets.
This happens when there are bits set in words right of wlen. This might happen through a getAndSet call (the documentation states that getAndSet may only be called on positions that are smaller than the size - which is the length of the array not wlen - this might be another issue).
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org