RFR: 8339916: AIOOBE due to Math.abs(Integer.MIN_VALUE) in tests
Andrew Haley
aph at openjdk.org
Fri Nov 22 12:12:21 UTC 2024
On Fri, 22 Nov 2024 10:36:21 GMT, Rémi Forax <forax at openjdk.org> wrote:
> Let say that the definition of Math.abs() is surprising
If anything is surprising, it's the definition of `%` . Which is compatible with `/`, but otherwise useless.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22297#issuecomment-2493609707
More information about the core-libs-dev
mailing list