Fixnums quietly lop off bits when calling methods of lesser precision than long
-------------------------------------------------------------------------------

                 Key: JRUBY-3988
                 URL: http://jira.codehaus.org/browse/JRUBY-3988
             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


When calling a method that takes int, short, char, Fixnums will be quietly cast 
to those types, possibly losing bits. They should raise errors when the 
incoming Fixnum does not fit in the target type.

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