Object#hash crash when a Bignum given as a hash value
-----------------------------------------------------

                 Key: JRUBY-5137
                 URL: http://jira.codehaus.org/browse/JRUBY-5137
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.5.3
         Environment: jruby 1.5.3 (ruby 1.8.7 patchlevel 249) (2010-09-28 
7ca06d7) (OpenJDK 64-Bit Server VM 1.6.0_18) [amd64-java]
            Reporter: Hiroshi Nakamura


{noscript}
0% jruby -e 'def (o = Object.new).hash; 2**128; end; {}[o]=nil'
0% jruby --1.9 -e 'def (o = Object.new).hash; 2**128; end; {}[o]=nil'
-e:1: bignum too big to convert into `long' (RangeError)
{noscript}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to