8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set
Alan.Bateman at oracle.com
Fri Apr 3 11:28:01 UTC 2015
On 03/04/2015 10:57, Chris Hegarty wrote:
> This is a request for review for a small change to address 8076442 .
> Seems to be a day one bug in the internal BitSetIterator, for a boundary condition when the Integer.MAX_VALUE bit is set. The change to the iterator, and test, is in line with the advise in BitSet.nextSetBit(int) ( break/terminate processing after reaching an index of Integer.MAX_VALUE ).
This looks okay to me, easily to over look this case.
More information about the core-libs-dev