Skip to content

subList toIndex should be exclusive, not inclusive. (fromIndex is inclusive.)#1292

Merged
enebo merged 3 commits intojruby:masterfrom
masover:master
Dec 4, 2013
Merged

subList toIndex should be exclusive, not inclusive. (fromIndex is inclusive.)#1292
enebo merged 3 commits intojruby:masterfrom
masover:master

Conversation

@masover
Copy link

@masover masover commented Dec 3, 2013

Resolves #1274.

@masover
Copy link
Author

masover commented Dec 3, 2013

Well, that's embarrassing. I can't reproduce that build failure on openjdk7, and I don't see how my patch could've caused it. I can try to reproduce on oracle's jdk...

enebo added a commit that referenced this pull request Dec 4, 2013
subList toIndex should be exclusive, not inclusive. (fromIndex is inclusive.)
@enebo enebo merged commit 4157f3b into jruby:master Dec 4, 2013
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.

RubyArray.subList should treat toIndex as exclusive, not inclusive.

2 participants