Improve automatic conversion between JRuby BigDecimal and java.math.BigDecimal
------------------------------------------------------------------------------

                 Key: JRUBY-939
                 URL: http://jira.codehaus.org/browse/JRUBY-939
             Project: JRuby
          Issue Type: Improvement
          Components: Java Integration
    Affects Versions: JRuby 0.9.9
            Reporter: toli kuznets


I have a Java function that expects a java.math.BigDecimal. 
When i send a JRuby BigDecimal to it, i get an error saying there's a class 
mismatch:

18:39:55,598 ERROR - expected [java.lang.String, char, java.math.BigDecimal];
got: [java.lang.String,java.lang.Character,java.lang.Long]; error: [EMAIL 
PROTECTED]

Would be nice if the BigDecimals played nice with each other.

Workaround: create a java.math.BigDecimal explicitly

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