Issue Type: Bug Bug
Assignee: Thomas E Enebo
Created: 14/Jun/12 2:31 PM
Description:

Behaviour differs between 1.9.3 and JRuby. Also confirmed on earlier version of JRuby (1.6.5), so probably not a regression, but this only started failing on our CI as of 1.7.

> rvm use 1.9.3
Using /Users/xavier/.rvm/gems/ruby-1.9.3-p194
> ruby -rbigdecimal -e 'puts BigDecimal.new(0.6, 2)'
0.6E0
> rvm use jruby-1.7.0.preview1
Using /Users/xavier/.rvm/gems/jruby-1.7.0.preview1
> ruby -rbigdecimal -e 'puts BigDecimal.new(0.6, 2)'
TypeError: can't convert Float into String
     new at org/jruby/ext/bigdecimal/RubyBigDecimal.java:443
  (root) at -e:1
Project: JRuby
Priority: Major Major
Reporter: Xavier Shay
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
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