Kernel.abort implementation differs from MatzRuby -------------------------------------------------
Key: JRUBY-4461 URL: http://jira.codehaus.org/browse/JRUBY-4461 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.4 Reporter: Ben Butler-Cole MatzRuby implements Kernel.abort by raising a SystemExit exception. This is handled at the top level by printing the message and then exiting. JRuby prints the message immediately and then raises a MainExitException. This makes testing the abort behaviour of scripts difficult because 1) you have to require Java and catch a different exception 2) you can't test the message produced easily. I have added the missing specs to RubySpec (http://github.com/benbc/rubyspec/commit/0f78fb955328a9de2f680ab42436ed7e2392e67a). -- 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