Skip to content

Fix indexOf() RubyString method.#5715

Merged
headius merged 7 commits intojruby:masterfrom
n00tmeg:fix_split_encoding_string
May 14, 2019
Merged

Fix indexOf() RubyString method.#5715
headius merged 7 commits intojruby:masterfrom
n00tmeg:fix_split_encoding_string

Conversation

@n00tmeg
Copy link
Contributor

@n00tmeg n00tmeg commented Apr 25, 2019

This PR is a possible fix for #5714 (Issue when splitting an encoded string with specific characters).
Please, refer to this issue for details.

resolves #5714

@kares
Copy link
Member

kares commented Apr 25, 2019

look at CI, the change caused regressions: https://api.travis-ci.org/v3/job/524627557/log.txt (scroll at end)

@n00tmeg
Copy link
Contributor Author

n00tmeg commented May 2, 2019

Thanks for the heads up, kares. I am closing this PR since my fix created another issue and needs to be investigated. I will resubmit a PR when it is done.

@n00tmeg n00tmeg closed this May 2, 2019
@n00tmeg n00tmeg reopened this May 6, 2019
@n00tmeg
Copy link
Contributor Author

n00tmeg commented May 6, 2019

Hi @kares, I've fixed what was causing issue but tests are still failing. I am not able to reproduce these errors locally. Any idea of what could cause with these CI regressions?

@kares
Copy link
Member

kares commented May 6, 2019

thanks - seems better. restarted some jobs.
one more thing, could you please move the tests so that you do not modify under test/mri
maybe just move them to a test/jruby/test_string.rb since they would get lost from next MRI update.

@n00tmeg
Copy link
Contributor Author

n00tmeg commented May 6, 2019

Sure, I just moved the tests. Thanks!

@kares kares added this to the JRuby 9.2.8.0 milestone May 7, 2019
@headius
Copy link
Member

headius commented May 14, 2019

Looks ok to me!

@headius headius merged commit 8748733 into jruby:master May 14, 2019
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.

Issue when splitting an encoded string with specific characters

3 participants