RFR: 8300463: Build failure on Windows 32 after JDK-8296401 [v2]

Fei Yang fyang at openjdk.org
Fri Jan 27 12:43:39 UTC 2023


> This issue also triggers when building slowdebug on linux-aarch64 with GCC-9.4.0. Given that std::numeric_limits<int>::max() returns positive integer number and size_t is an unsigned type, I guess it's safe to do simple static_cast here both on 32-bit and 64-bit platfoms. Slowdebug on linux-aarch64 builds fine with this fix.

Fei Yang has updated the pull request incrementally with one additional commit since the last revision:

  Comment

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12178/files
  - new: https://git.openjdk.org/jdk/pull/12178/files/f76cb7ef..14190118

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12178.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12178/head:pull/12178

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


More information about the hotspot-dev mailing list