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: [email protected]
For additional commands, e-mail: [email protected]