apache/lucene-solr — pull request #26 by jakob-zwiener (2014-01-30 12:32:11+00:00)
Title: Reproduces and fixes issue LUCENE-5423

First commit adds a test that shows the unexpected behaviour. Should the dcumentation of getAndSet be updated to recommend not setting bits right of wlen the unexpected hashCode behaviour could be triggered by manually setting wlen. Although bitsets having bits set right of wlen are kind of invalid in themselves, fixing the hashCode method seems advisable.