Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0.pre1
Assignee: Unassigned
Components: Core Classes/Modules
Created: 24/May/12 10:33 PM
Description:

The following code causes a "TypeError: backtrace must be Array of String" error:

raise SystemCallError, 0, "oops"

Here's the output:


# JRUBY
irb(main):001:0> raise SystemCallError, 0, "oops"
TypeError: backtrace must be Array of String
        from org/jruby/RubyException.java:216:in `set_backtrace'
        from (irb):1:in `evaluate'
        from org/jruby/RubyKernel.java:1037:in `eval'
        from org/jruby/RubyKernel.java:1353:in `loop'
        from org/jruby/RubyKernel.java:1146:in `catch'
        from org/jruby/RubyKernel.java:1146:in `catch'
        from c:\jruby\bin\jirb:13:in `(root)'


# MRI
irb(main):001:0> raise SystemCallError, 0, "oops"
Errno::NOERROR: No error
        from oops
Environment: jruby 1.7.0.preview1 (ruby-1.9.3-p203) (2012-05-19 00c8c98) (Java HotSpot(TM) Client VM 1.6.0_31) [Windows 7-x86-java]
Project: JRuby
Priority: Major Major
Reporter: Daniel Berger
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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