RFR: 8300463: Build failure on Windows 32 after JDK-8296401 [v2]
Kim Barrett
kbarrett at openjdk.org
Fri Jan 27 13:59:17 UTC 2023
On Fri, 27 Jan 2023 12:43:39 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.
>
> Fei Yang has updated the pull request incrementally with one additional commit since the last revision:
>
> Comment
Looks good.
-------------
Marked as reviewed by kbarrett (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12178
More information about the hotspot-dev
mailing list