RFR: 8314114: Fix -Wconversion warnings in os code, primarily linux [v5]

Coleen Phillimore coleenp at openjdk.org
Fri Aug 11 20:40:28 UTC 2023


> 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.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/15229/files
  - new: https://git.openjdk.org/jdk/pull/15229/files/ab81b2ed..e29c997d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=15229&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15229&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/15229.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15229/head:pull/15229

PR: https://git.openjdk.org/jdk/pull/15229


More information about the hotspot-dev mailing list