Wrong stacktraces from exceptions about wrong number of arguments -----------------------------------------------------------------
Key: JRUBY-2120 URL: http://jira.codehaus.org/browse/JRUBY-2120 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.1RC1 Environment: Latest JRuby 1.1RC1 Reporter: Vladimir Sizikov Fix For: JRuby 1.1 Arity checks are done before the method frame is pushed into the frame stack, and hence miss the most important info - the last frame: {noformat} "hello".sub {noformat} JRuby: stacktrace.rb:1: wrong number of arguments (0 for 1) (ArgumentError) MRI: stacktrace.rb:1:in `sub': wrong number of arguments (0 for 2) (ArgumentError) from stacktrace.rb:1 -- 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