[jira] Created: (JRUBY-4219) Exceptions backtrace info is wrong if call to Kernel#system is on the same line

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (JRUBY-4219) Exceptions backtrace info is wrong if call to Kernel#system is on the same line

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Exceptions backtrace info is wrong if call to Kernel#system is on the same line
-------------------------------------------------------------------------------

                 Key: JRUBY-4219
                 URL: http://jira.codehaus.org/browse/JRUBY-4219
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.4
         Environment: Checked with Linux and Windows
            Reporter: Vladimir Sizikov
            Assignee: Thomas E Enebo


Consider the following:
{code system-bt.rb}
# one
# two
# three
system('pwd') and raise StandardError
{code}

MRI will report:
system-bt.rb:*4*: StandardError (StandardError)

JRuby will report always line *1*:
system-bt.rb:*1*: StandardError (StandardError)


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