RFR: 8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Aleksey Shipilev
shade at openjdk.org
Thu Nov 21 19:38:15 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.
It is like computers are bad at computing or something something.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22297#pullrequestreview-2452452508
More information about the core-libs-dev
mailing list