Skip to content
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

I/O calls do not invalidate String#ascii_only? cache #2316

Closed
johnmuhl opened this issue Dec 13, 2014 · 2 comments
Closed

I/O calls do not invalidate String#ascii_only? cache #2316

johnmuhl opened this issue Dec 13, 2014 · 2 comments

Comments

@johnmuhl
Copy link
Contributor

@johnmuhl johnmuhl commented Dec 13, 2014

See rubinius/rubinius#3236 reproducable with JRuby 1.7.17 and master.

@headius
Copy link
Member

@headius headius commented Dec 15, 2014

Thanks to you and @FooBarWidget for finding this! It also appears to reproduce on JRuby master, which is surprising since I have re-ported much of the IO and encoding logic.

Definitely a big one to fix for 1.7.18.

@headius
Copy link
Member

@headius headius commented Dec 15, 2014

Fixed on master. I'll try to make same fix on 1.7 now.

evanphx pushed a commit to ruby/ruby that referenced this issue Dec 15, 2014
  IO#read with buffer. See jruby/jruby#2316.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
ayumin pushed a commit to ayumin/ruby that referenced this issue Jan 4, 2015
  IO#read with buffer. See jruby/jruby#2316.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
mmasaki pushed a commit to mmasaki/ruby that referenced this issue May 30, 2015
  IO#read with buffer. See jruby/jruby#2316.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants