RFR: 8314114: Fix -Wconversion warnings in os code, primarily linux [v5]
Coleen Phillimore
coleenp at openjdk.org
Sat Aug 12 14:06:28 UTC 2023
On Fri, 11 Aug 2023 20:40:28 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> This change fixes various -Wconversion warnings from files in the os directories and related, widening types or adding checked_cast<> where narrowing.
>> Tested with tier1 on linux/macosx/windows and tier1-4 on linux-x64-debug, windows-x64-debug.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>
> Put back size_t parameter for print_signal_handlers and add a checked_cast<> future could fix the dll_address_to_x functions.
Thanks for reviewing, Thomas. I like your idea of renaming checked_cast to cc or something shorter. I'd love for the error message to be improved since I seem to be now hitting when testing a lot.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15229#issuecomment-1675919737
More information about the hotspot-dev
mailing list