RFR: 8313564: Fix -Wconversion warnings in classfile code [v2]
Coleen Phillimore
coleenp at openjdk.org
Wed Aug 2 13:40:12 UTC 2023
> This patch fixes various -Wconversion warnings in classfile code. I broke the change into commits so the changes are easier to see.
> Tested with tier1-4.
Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
Missed a case that gets -Wconversion warning for ContendedPaddingWidth. prefetch_data_size() returns uint, so added a checked_cast<> to catch the case where it would return greater than signed int max.
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/15111/files
- new: https://git.openjdk.org/jdk/pull/15111/files/3fa12be0..0e97905c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=15111&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=15111&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/15111.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/15111/head:pull/15111
PR: https://git.openjdk.org/jdk/pull/15111
More information about the graal-dev
mailing list