RFR : BitSet.toString() can throw IndexOutOfBoundsException
ivan.gerasimov at oracle.com
Mon May 5 16:56:31 UTC 2014
This is a friendly reminder.
Could a Reviewer please review/approve this fix?
The problem is that a BitSet can have bit # MAX_VALUE set, but trying to
convert it to String throws an exception.
On 22.04.2014 16:13, Ivan Gerasimov wrote:
> If a BitSet has the bit Integer.MAX_VALUE set, then calling toString()
> will throw an exception.
> The same thing happens if the bit (Integer.MAX_VALUE-1) is set.
> Would you please help review the fix for this issue?
> BUGURL: https://bugs.openjdk.java.net/browse/JDK-8040806
> WEBREV: http://cr.openjdk.java.net/~igerasim/8040806/0/webrev/
> Sincerely yours,
More information about the core-libs-dev