Rubyspec failures #hash for Array, Hash, Struct with recursive hashes
---------------------------------------------------------------------

                 Key: JRUBY-4007
                 URL: http://jira.codehaus.org/browse/JRUBY-4007
             Project: JRuby
          Issue Type: Bug
          Components: RubySpec
         Environment: jruby 1.4.0dev (ruby 1.8.7 patchlevel 174) (2009-09-27 
704b415) (Java HotSpot(TM) Client VM 1.6.0_03) [i386-java]

            Reporter: Vladimir Sizikov


     [java] 1)
     [java] Array#hash returns the same hash for recursive arrays FAILED
     [java] Expected 2
     [java]  to equal 0
     [java]
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:27
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:4
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:55:in `load'
     [java]
     [java] 2)
     [java] Array#hash returns the same hash for recursive arrays through 
hashes FAILED
     [java] Expected 995
     [java]  to equal 993
     [java]
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:33
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:4
     [java] /opt/work/jruby.git/spec/ruby/core/array/hash_spec.rb:55:in `load'

     [java] 5)
     [java] Hash#hash returns the same hash for recursive hashes FAILED
     [java] Expected 993
     [java]  to equal 0
     [java]
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:28
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:9
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:55:in `load'
     [java]
     [java] 6)
     [java] Hash#hash returns the same hash for recursive hashes through arrays 
FAILED
     [java] Expected 995
     [java]  to equal 2
     [java]
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:34
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:9
     [java] /opt/work/jruby.git/spec/ruby/core/hash/hash_spec.rb:55:in `load'
     [java]

     [java] 9)
     [java] Struct#hash returns the same hash for recursive structs ERROR
     [java] SystemStackError: stack level too deep
     [java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:26
     [java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:4
     [java] /opt/work/jruby.git/spec/ruby/core/struct/hash_spec.rb:55:in `load'

See "redmine #1852" for the MRI bug.



-- 
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