History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: JRUBY-1836
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Charles Oliver Nutter
Reporter: Charles Oliver Nutter
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JRuby

AIOOB in String#each spec running with +C

Created: 29/Dec/07 03:23 PM   Updated: 23/Apr/08 10:03 AM
Component/s: Compiler
Affects Version/s: None
Fix Version/s: JRuby 1.1RC1

Time Tracking:
Not Specified


 Description  « Hide
This passes with normal JIT mode or interpreted mode.
~/NetBeansProjects/rubinius $ bin/mspec -t j -T +C spec/core/string//each_line_spec.rb
Started
...Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 31
        at org.jruby.RubyString.each_line(RubyString.java:3385)
        at org.jruby.RubyStringInvoker$each_line_method_0_1.call(Unknown Source)
        at org.jruby.RubyObject.send(RubyObject.java:1170)
        at org.jruby.RubyObjectInvoker$send_method_1_0.call(Unknown Source)
        at org.jruby.runtime.CallSite$InlineCachingCallSite.call(CallSite.java:158)
        at ruby.Users.headius.NetBeansProjects.rubinius.spec.core.string.shared.each_dot_rb.closure11(/Users/headius/NetBeansProjects/rubinius/./spec/core/string/shared/each.rb:31)


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Charles Oliver Nutter - 03/Jan/08 01:41 AM
Fixed by Marcin.