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

Matthias Baesken mbaesken at openjdk.org
Thu Mar 20 16:02:20 UTC 2025


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 .

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

Commit messages:
 - JDK-8346931

Changes: https://git.openjdk.org/jdk/pull/24136/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24136&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8346931
  Stats: 6 lines in 1 file changed: 0 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/24136.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24136/head:pull/24136

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


More information about the hotspot-dev mailing list