-
Notifications
You must be signed in to change notification settings - Fork 195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in ImmutableSubList.ListIterator#hasNext #307
Comments
Sounds like a (hopefully) simple fix; I can try to make a merge request for it |
Ouch, I completely missed this somehow. Yes, if you can fix it in a PR that'd be great. I'd like to fix a few things and release. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example:
throws
java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
.It's reproducible with DoubleList as well. Haven't checked other types though.
Possible workaround: replace
IntList
withIntArrayList
.Affected version:
fastutil-core:8.5.12
.I guess, the problem is in missing addition of
from
insidehasNext
method.The text was updated successfully, but these errors were encountered: