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
Thu Aug 21 09:54:51 UTC 2025


On Thu, 21 Aug 2025 07:46:29 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Would ubsan hit a similar value if it did and would you have to guard against INT_MIN as well?

UBSAN could also complain about the too small negative values.
The test and C++ source are changed for these cases.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26859#issuecomment-3209822242


More information about the hotspot-runtime-dev mailing list