On Thu, 26 May 2022 18:02:14 GMT, Raffaello Giulietti <d...@openjdk.java.net> wrote:
> BigDecimal(String) currently fails to accept some strings produced by > BigDecimal.toString(). This PR removes this limitation. This happens because the constructor currently only accepts exponents in the `int` range (more precisely, in the open range (-2^31, 2^31)). It should accept a larger range of exponents, as long as the resulting `BigDecimal` has a scale in the `int` range. ------------- PR: https://git.openjdk.java.net/jdk/pull/8905