adoptium / aqa-systemtest

Java load testing and other full system application tests
Apache License 2.0
19 stars 65 forks source link

Update BigDecimal testing for jdk22+ behavior #487

Closed pshipton closed 7 months ago

pshipton commented 7 months ago

Calling toPlainString() on a BigDecimal with a large negative exponent throws OutOfMemoryError("too large to fit in a String") rather than NegativeArraySizeException.

Fixes https://github.com/adoptium/aqa-systemtest/issues/486

Tested via https://openj9-jenkins.osuosl.org/view/Test/job/Grinder/3297 on the latest Adoptium Hotspot jdk22 ea build (+35), which passed.

15:09:26  openjdk version "22-beta" 2024-03-19
15:09:26  OpenJDK Runtime Environment Temurin-22+35-202402100012 (build 22-beta+35-ea)
15:09:26  OpenJDK 64-Bit Server VM Temurin-22+35-202402100012 (build 22-beta+35-ea, mixed mode)