nil can't be passed for numeric Java types in some cases, even though nil.to_i 
treats it as 0
---------------------------------------------------------------------------------------------

                 Key: JRUBY-3989
                 URL: http://jira.codehaus.org/browse/JRUBY-3989
             Project: JRuby
          Issue Type: Bug
          Components: Java Integration
    Affects Versions: JRuby 1.3.1
            Reporter: Charles Oliver Nutter
            Assignee: Charles Oliver Nutter
             Fix For: JRuby 1.4


In some cases we allowed nil to be treated as 0 for purposes of interacting 
with Java. In other cases, we did not. All cases should allow it to coerce to a 
number 0.

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


Reply via email to