RFR: [CSR] 8287376: BigDecimal(String) must allow a larger range for the exponent

Raffaello Giulietti raffaello.giulietti at oracle.com
Thu May 26 21:16:24 UTC 2022


Currently, BigDecimal(String) requires the exponent part to lie in the 
int range.

This CSR [1] removes this limitation, as it otherwise precludes 
constructing an instance from a string generated by BigDecimal.toString().


Greetings
Raffaello

----

[1] https://bugs.openjdk.java.net/browse/JDK-8287376


More information about the core-libs-dev mailing list