RFR: 8313249: Fix -Wconversion warnings in verifier code [v2]

Coleen Phillimore coleenp at openjdk.org
Mon Jul 31 12:45:52 UTC 2023


On Sat, 29 Jul 2023 12:18:28 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I agree, this one I should have used checked_cast and test the range of chop.
>
> I also wondered about the range check but then I looked at the caller. No need to check it it in both places.

Since the caller isn't easy to find (via grep), I think the checked_cast<> doesn't hurt anything.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15056#discussion_r1279239150


More information about the hotspot-runtime-dev mailing list