Integrated: 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp

Matthias Baesken mbaesken at openjdk.org
Wed Mar 26 12:34:21 UTC 2025


On Thu, 20 Mar 2025 15:56:10 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> There are a few divisions by zero in sharedRuntimeTrans.cpp, used to "construct" NaN and -infinity. This should probably be replaced by using functionality from std::numeric_limits .

This pull request has now been integrated.

Changeset: b4dc3645
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/b4dc364575b5a7e9dab5645f2fd6f377083531f0
Stats:     27 lines in 2 files changed: 6 ins; 12 del; 9 mod

8346931: Replace divisions by zero in sharedRuntimeTrans.cpp

Reviewed-by: kbarrett, mdoerr

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

PR: https://git.openjdk.org/jdk/pull/24136


More information about the hotspot-dev mailing list