Integrated: 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
Fri Sep 5 18:45:18 UTC 2025
On Wed, 20 Aug 2025 12:12:01 GMT, Afshin Zafari <azafari at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: c6c451ac
Author: Afshin Zafari <azafari at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c6c451ac392cdb545ab43dd46918eca6c47cc5f0
Stats: 89 lines in 2 files changed: 60 ins; 6 del; 23 mod
8353468: [ubsan] arguments.cpp:2422:23: runtime error: 2.14748e+11 is outside the range of representable values of type 'int'
Reviewed-by: stefank, dholmes
-------------
PR: https://git.openjdk.org/jdk/pull/26859
More information about the hotspot-runtime-dev
mailing list