-
Notifications
You must be signed in to change notification settings - Fork 334
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
JRuby 9.2 with unified Integer raises ClassCastException #336
Comments
See jruby/jruby#4293 for ongoing Ruby 2.4 work. The branch is |
headius
added a commit
to jruby/jruby
that referenced
this issue
Aug 3, 2017
kares
added a commit
to kares/json
that referenced
this issue
Nov 28, 2018
slightly ugly but the only way to still compile under 1.7 once Ruby 1.9.3 gets dropped this should get ironed out ! resolves rubyGH-336
kares
added a commit
to kares/json
that referenced
this issue
Jan 12, 2019
slightly ugly but the only way to still compile under 1.7 once Ruby 1.9.3 gets dropped this should get ironed out ! resolves rubyGH-336
Seems like related
which works perfectly with jruby 9.1.8, json (1.8.3 java)
|
We did not update json in time for the JRuby 9.2.7 release; please try to install the json gem. We will update it for 9.2.8. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have been working on our Ruby 2.4 support for a release in the next couple months. Rubhy 2.4 unified Fixnum and Bignum into Integer, which means some APIs that only expected to get Fixnum or Bignum before might need to adapt to support both.
It appears that the JRuby extension has not been updated for that change yet. I get the following error in MRI's test_json.rb:
Any place that assumes it will only receive Fixnums should probably be audited. I can help, but I assume this work was already done for the C ext, and the changes should be very similar for the Java ext.
The text was updated successfully, but these errors were encountered: