NullPointerException when calling #arity on Klass.method(:new)
--------------------------------------------------------------
Key: JRUBY-3491
URL: http://jira.codehaus.org/browse/JRUBY-3491
Project: JRuby
Issue Type: Bug
Affects Versions: JRuby 1.1.6
Environment: OS X 10.5.x
Reporter: Matthew King
Assignee: Thomas E Enebo
Priority: Minor
{noformat}
String.method(:new).arity
{noformat}
produces
{noformat}
org.jruby.RubyMethod:131:in `arity': java.lang.NullPointerException
from org.jruby.RubyMethod$i_method_0_0$RUBYINVOKER$arity:-1:in `call'
from org.jruby.runtime.callsite.CachingCallSite:260:in `cacheAndCall'
from org.jruby.runtime.callsite.CachingCallSite:75:in `call'
{noformat}
--
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