RubyBigDecimal internal value not set when its BIGDECIMAL_ALLOCATOR is used. 
-----------------------------------------------------------------------------

                 Key: JRUBY-1558
                 URL: http://jira.codehaus.org/browse/JRUBY-1558
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
            Reporter: Robert Jay Osborne


RubyBigDecimal internal value not set when its BIGDECIMAL_ALLOCATOR is used.  
This results in spurious NPEs relying on its value being initialized.

I've tried naively removing the BigDecimal(runtime, klass)  constructor and 
coercing a Java String out of an IRubyObject.  Ideally, that String can be used 
to construct the BigDecimal value.

This would be trivial code if I knew how to get a Java String out of an 
IRubyObject.


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