RFR: 8348195: More u2 conversion warnings after JDK-8347147

Aleksey Shipilev shade at openjdk.org
Wed Jan 22 15:31:00 UTC 2025


On Tue, 21 Jan 2025 15:49:27 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> After [JDK-8347147](https://bugs.openjdk.org/browse/JDK-8347147), SonarCloud reports a few risky conversions from int to u2. It would be good to cover them with either checked_cast or changing the underlying type.

Thank you for reviews!

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

PR Comment: https://git.openjdk.org/jdk/pull/23217#issuecomment-2607550826


More information about the hotspot-dev mailing list