RFR: 8346931: Replace divisions by zero in sharedRuntimeTrans.cpp [v3]

Matthias Baesken mbaesken at openjdk.org
Mon Mar 24 13:03:38 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 .

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  java/lang/Math/PowTests.java failed, we have to return infinity

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24136/files
  - new: https://git.openjdk.org/jdk/pull/24136/files/1aa41c47..263f771f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24136&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24136&range=01-02

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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