JRuby

Array#fill spec failures

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: JRuby 1.2
  • Component/s: Core Classes/Modules
  • Labels:
    None
  • Number of attachments :
    0

Description

     [java] 1)
     [java] Array#fill with (filler, index, length) raises an ArgumentError or RangeError for too-large sizes FAILED
     [java] Expected ArgumentError
     [java] but got RangeError (integer 9223372036854775807 too big to convert to `int')
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:222
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:76
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:54:in `load'
     [java] 
     [java] 2)
     [java] Array#fill with (filler, range) raise an exception if some of the given range lies before the first of the array FAILED
     [java] Expected RangeError ((?-mix:-5\.\.-3)) but got RangeError (-2..-3 out of range)
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:305
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:228
     [java] /Users/headius/projects/jruby/spec/ruby/1.8/core/array/fill_spec.rb:54:in `load'

Activity

Hide
Charles Oliver Nutter added a comment -

Appears to have been fixed recently. Updating tags now.

Show
Charles Oliver Nutter added a comment - Appears to have been fixed recently. Updating tags now.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: