Wrong line numbers for ArgumentError for Java calls
---------------------------------------------------
Key: JRUBY-2377
URL: http://jira.codehaus.org/browse/JRUBY-2377
Project: JRuby
Issue Type: Bug
Components: Core Classes/Modules
Affects Versions: JRuby 1.1, JRuby 1.1+
Environment: Linux
Reporter: Martin Krauskopf
Try e.g.:
{code}
require 'java'
puts java.util.Collections.empty_list('hey')
{code}
You will get something like:
/home/joe/ruby/jruby-tester/lib/tester.rb:1: wrong # of arguments(1 for 0)
(ArgumentError)
Should be "....lib/tester.rb:3". Those make it sometime quite uneasy to find
the culprit.
--
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