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

stdlib update for 9.1 (from Ruby 2.3.1) #4087

kares opened this issue Aug 18, 2016 · 1 comment

stdlib update for 9.1 (from Ruby 2.3.1) #4087

kares opened this issue Aug 18, 2016 · 1 comment


Copy link

kares commented Aug 18, 2016

JRuby 9.1 did not update stdlib to accompany changes from Ruby 2.3.1and is currently at 2.3.0

there are however issues e.g. "old-style" yaml AR column serialization failing as :

NoMethodError: undefined method `key?' for nil:NilClass
/opt/local/rvm/rubies/jruby- `respond_to_missing?'
org/jruby/ `respond_to?'
/opt/local/rvm/rubies/jruby- `init_with'
/opt/local/rvm/rubies/jruby- `revive'
/opt/local/rvm/rubies/jruby- `visit_Psych_Nodes_Mapping'
/opt/local/rvm/rubies/jruby- `visit'
/opt/local/rvm/rubies/jruby- `accept'
/opt/local/rvm/rubies/jruby- `accept'
/opt/local/rvm/rubies/jruby- `visit_Psych_Nodes_Document'
/opt/local/rvm/rubies/jruby- `visit'
/opt/local/rvm/rubies/jruby- `accept'
/opt/local/rvm/rubies/jruby- `accept'
/opt/local/rvm/rubies/jruby- `to_ruby'
/opt/local/rvm/rubies/jruby- `load'
/opt/local/rvm/gems/jruby- `load'
/opt/local/rvm/gems/jruby- `type_cast_from_database'
/opt/local/rvm/gems/jruby- `type_cast'
/opt/local/rvm/gems/jruby- `original_value'
/opt/local/rvm/gems/jruby- `value'
/opt/local/rvm/gems/jruby- `fetch_value'
/opt/local/rvm/gems/jruby- `_read_attribute'
/opt/local/rvm/gems/jruby- `content'

... while this seems to be a Psych issue its worked around in ostruc.rb 2.3.1 : ruby/ruby@4c1ac0b

would have updated the ostruct.rb file but I am unsure of the policy - maybe its best if the whole stdlib is upgraded and the reported Ruby compatibility version is upgraded at a 2.3.1 patch level.

// cc @enebo @headius should this get into 9.1.3 or too risky to update the .rb stdlib ?

kares added a commit to jruby/activerecord-jdbc-adapter that referenced this issue Aug 18, 2016
Copy link

headius commented Aug 18, 2016

We would like to update stdlib but need to review diffs and make sure any changes committed to jruby/jruby get back into jruby/ruby. I can work on that today.

@headius headius added this to the JRuby milestone Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants