Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix Net::HTTP nil body bug #3825
It appears based on ruby/ruby@b1a0509 this functionality was moved to
@headius The problem is not in the JRuby 9k series, only in JRuby 1.x (including the latest 1.7.25), using the 1.9 stdlib (later stdlib versions do fix it).
I noticed there are multiple versions of the stdlib in the 1.7.25 code. My install used the 1.9 versions, and I'm not sure how the others are used (looked for documentation and command line options, but didn't find any).
My intention with the PR is that the upcoming 1.7.26 release doesn't have this no method on nil issue. I asked on IRC and understood that the PR should merge into the branch
@chrisberkhout Thank you for clarifying about 9k!
The 1.8 and 2.0 stdlibs in JRuby 1.7.x are used when running with
Thanks for the PR!