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

This pull request has now been integrated.

Changeset: 25bb698e
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/25bb698eff9f5aadb54dd37a442e2e1bc555353a
Stats:     3 lines in 3 files changed: 0 ins; 0 del; 3 mod

8348195: More u2 conversion warnings after JDK-8347147

Reviewed-by: coleenp, dholmes

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

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


More information about the hotspot-dev mailing list