Skip to content

Conversation

@linasm
Copy link
Contributor

@linasm linasm commented Mar 7, 2020

Fix ArrayIndexOutOfBoundsException that is thrown by <<= operation on mutable.BitSet consisting of more than one empty word.
Such BitSet is possible in practice, even though it seems to contradict the invariant prescribed in the documentation ("The memory footprint of a bitset is determined by the largest number stored in it."). See the added test case for an example.

@SethTisue
Copy link
Member

is there someone watching this repo who can review this?

@SethTisue
Copy link
Member

SethTisue commented Apr 22, 2020

I'll just go ahead and merge it, then :-)

thanks @linasm

@SethTisue SethTisue merged commit 640b712 into scala:master Apr 22, 2020
@SethTisue SethTisue mentioned this pull request Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants