Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-0.8
-
None
Description
On 32-bit Linux using both Ruby 1.8 and 2.0 I see the following when setting a Bignum value:
3: 2) A data object can hold a decimal64
3: Failure/Error: @data.decimal64 = value
3: RangeError:
3: bignum too big to convert into `unsigned long'
3: # ./lib/qpid_proton/data.rb:633:in `pn_data_put_decimal64'
3: # ./lib/qpid_proton/data.rb:633:in `decimal64='
3: # ./spec/qpid/proton/data_spec.rb:318:in `block (2 levels) in <module:Proton>'
It seems that a >32-bit value can't be held on a 32-bit system in Proton.