Integrated: 8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Andrew Haley
aph at openjdk.org
Fri Nov 22 12:12:22 UTC 2024
On Thu, 21 Nov 2024 17:21:07 GMT, Andrew Haley <aph at openjdk.org> wrote:
> Test bug.
>
> Another bug caused by the result of `Math.abs()` being negative. I also tried `floorMod()`, which would have been cleaner, but it increased the runtime of this extremely time-sensitive benchmark.
This pull request has now been integrated.
Changeset: 64e4aa21
Author: Andrew Haley <aph at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/64e4aa21a42688f8b2095a609e20f05af7672ca4
Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Reviewed-by: shade
-------------
PR: https://git.openjdk.org/jdk/pull/22297
More information about the core-libs-dev
mailing list