On Wed, 1 Nov 2023 17:40:04 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
> Prevent a `NegativeArraySizeException` in `BigDecimal.toPlainString()`, > throwing `OutOfMemoryError` instead to indicate that the resulting `String` > would be too large. This pull request has now been integrated. Changeset: a6785e4d Author: Raffaello Giulietti <rgiulie...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/a6785e4d633908596ddb6de6d2eeab1c9ebdf2c3 Stats: 63 lines in 2 files changed: 43 ins; 6 del; 14 mod 8318915: Enhance checks in BigDecimal.toPlainString() Reviewed-by: rriggs, bpb ------------- PR: https://git.openjdk.org/jdk/pull/16457