RFR: 8300463: Build failure on Windows 32 after JDK-8296401
Fei Yang
fyang at openjdk.org
Wed Jan 25 05:50:42 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.
-------------
Commit messages:
- 8300463: Build failure on Windows 32 after JDK-8296401
Changes: https://git.openjdk.org/jdk/pull/12178/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12178&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8300463
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