Two JRuby crashes on Readline::HISTORY rubyspecs
------------------------------------------------

                 Key: JRUBY-2592
                 URL: http://jira.codehaus.org/browse/JRUBY-2592
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
         Environment: Latest JRuby 1.1.2
            Reporter: Vladimir Sizikov
            Assignee: Vladimir Sizikov
             Fix For: JRuby 1.1.3


{noformat}
mspec run -t j spec/ruby/1.8/library/readline/history/

Exception in thread "main" java.lang.ClassCastException: org.jruby.RubyObject 
cannot be cast to org.jruby.RubyString
        at org.jruby.ext.Readline$HistoryMethods.s_push(Readline.java:167)
        at 
org.jruby.ext.Readline$HistoryMethodsInvoker$s_push_s_method_0_0.call(Unknown 
Source)
        at 
org.jruby.internal.runtime.methods.JavaMethod$JavaMethodNoBlock.call(JavaMethod.java:63)
        at 
org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:78)

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -10
        at java.util.ArrayList.elementData(ArrayList.java:338)
        at java.util.ArrayList.get(ArrayList.java:351)
        at java.util.Collections$UnmodifiableList.get(Collections.java:1170)
        at org.jruby.ext.Readline$HistoryMethods.s_hist_get(Readline.java:201)
        at 
org.jruby.ext.Readline$HistoryMethodsInvoker$s_hist_get_s_method_1_0.call(Unknown
 Source)
{noformat}

Will fix.

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