8076442: Cannot fully read BitSet.stream() if bit Integer.MAX_VALUE is set

Henry Jen henry.jen at oracle.com
Fri Apr 3 22:01:33 UTC 2015

Looks fine to me, thanks for taking care of it.


On 04/03/2015 02:57 AM, Chris Hegarty wrote:
> This is a request for review for a small change to address 8076442 [1].
> 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 ).
> http://cr.openjdk.java.net/~chegar/8076442/webrev/
> -Chris.
> [1] https://bugs.openjdk.java.net/browse/JDK-8076442

More information about the core-libs-dev mailing list