RFR: JDK-8267773: StringIndexOutOfBoundsException(Integer.MIN_VALUE) loop returns wrong value within 20k
Adam Farley
adfarley at redhat.com
Wed May 26 13:59:13 UTC 2021
Hi All,
Could someone with JIT knowledge please take a look at this?
TLDR: Call StringIndexOutOfBoundsException(Integer.MIN_VALUE) enough times
and eventually the toString return value will start ending in -2 instead of
-2147483648.
A minimal test case is attached to the bug:
https://bugs.openjdk.java.net/browse/JDK-8267773
Best Regards
Adam Farley
Software Developer
Red Hat
More information about the hotspot-compiler-dev
mailing list