Integrated: 8300463: Build failure on Windows 32 after JDK-8296401
Fei Yang
fyang at openjdk.org
Tue Jan 31 00:14:07 UTC 2023
On Wed, 25 Jan 2023 05:43:52 GMT, Fei Yang <fyang at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: aa349244
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/aa3492442bb89f84c6427ced0bd687d6a10839cf
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8300463: Build failure on Windows 32 after JDK-8296401
Reviewed-by: kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/12178
More information about the hotspot-dev
mailing list