RFR: 8314265: Fix -Wconversion warnings in miscellaneous runtime code [v4]

Dean Long dlong at openjdk.org
Wed Aug 16 21:24:37 UTC 2023


On Wed, 16 Aug 2023 19:16:28 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:

>> Fix MaxElementPrintSize and casts. Also fixed miscellaneous -Wconversion warnings in runtime code.  This is the last one I'm going to do for runtime for a while.
>> Tested with tier1-4.
>
> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Remove wrong comment.

src/hotspot/share/utilities/elfFile.hpp line 486:

> 484:     DwarfFile* _dwarf_file;
> 485:     MarkedDwarfFileReader _reader;
> 486:     uint64_t _section_start_address;

This is platform-specific.
Suggestion:

    uintptr_t _section_start_address;

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15233#discussion_r1296443060


More information about the build-dev mailing list