=begin
The hash method sometimes computes a value that is too large. This is a rare occurrence in MRI, but this is causing problems for IronRuby. The following patch is suggested for computing smaller hashes:
At Wed, 5 Aug 2009 03:24:49 +0900,
Ryan Riley wrote in [ruby-core:24754]:
The hash method sometimes computes a value that is too
large. This is a rare occurrence in MRI, but this is causing
problems for IronRuby. The following patch is suggested for
computing smaller hashes:
This does not appear to have been backported to ruby_1_8_7 branch, so we have gotten recent reports about it being a bug in JRuby. Is it possible to get this tiny patch backported to ruby_1_8_7, so we can pull the change into our patched stdlib at https://github.com/jruby/ruby/tree/jruby-ruby_1_8_7 ?
I'd rather not apply the patch unilaterally, but this is a visible bug that needs fixing.