RFR: 8353468: [ubsan] arguments.cpp:2422:23: runtime error: 2.14748e+11 is outside the range of representable values of type 'int'
Afshin Zafari
azafari at openjdk.org
Wed Aug 20 12:19:18 UTC 2025
In converting values of `-XMinf` and `-XMaxf` options to `int`, overflow was not checked.
The values are checked against INT_MAX and clamped.
Tests: tiers 1-5.
-------------
Commit messages:
- 8363468: [ubsan] arguments.cpp:2422:23: runtime error: 2.14748e+11 is outside the range of representable values of type 'int'
Changes: https://git.openjdk.org/jdk/pull/26859/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26859&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8353468
Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/26859.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26859/head:pull/26859
PR: https://git.openjdk.org/jdk/pull/26859
More information about the hotspot-runtime-dev
mailing list