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

Coleen Phillimore coleenp at openjdk.org
Sat Aug 12 14:03: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 two additional commits since the last revision:

 - Thomas Stuefe and Dean's suggestions, turn Wconversion back off.
 - revert copyright change

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

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

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

  Stats: 12 lines in 4 files changed: 2 ins; 0 del; 10 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