Skip to content

Fix RubyString#byteslice on substring.#734

Merged
1 commit merged intojruby:masterfrom
grddev:byteslice_fixes
May 21, 2013
Merged

Fix RubyString#byteslice on substring.#734
1 commit merged intojruby:masterfrom
grddev:byteslice_fixes

Conversation

@grddev
Copy link
Contributor

@grddev grddev commented May 14, 2013

As value.getBegin() already managed by makeShared19(), the method
byteSubstr() need not take it into account.

As value.getBegin() already managed by makeShared19(), the method
byteSubstr() need not take it into account.
@headius
Copy link
Member

headius commented May 21, 2013

Testing locally before merge.

@ghost ghost merged commit c7ed4ab into jruby:master May 21, 2013
@mrbrdo
Copy link
Contributor

mrbrdo commented Jun 17, 2013

I'm running into this on 1.7.4 (I think it's triggered by Nokogiri), is there any way I could do anything to work around it until 1.7.5 is released? I.e. without compiling a custom build of JRuby. Would it be possible to monkey patch from within a ruby script?
I know particularly where this happens for me and it's only in one place, so I can catch the exception etc.
Thanks.

This pull request was closed.
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.

3 participants