On Tue, 13 Oct 2026 20:31:01 GMT, Sergey Bylokhov <[email protected]> wrote:

> I think it should be clamped first and then cast? since "65536 -> 0 -> 1" but 
> "-1 -> 65535 -> 255"

I can do that but really with anything so out of range, it hardly matters what 
we set it to.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33217#discussion_r4264706152

Reply via email to