On Fri, 27 Feb 2026 12:35:51 GMT, Raffaello Giulietti <[email protected]> 
wrote:

> Some of the `ArraysSupport::mismatch` family of methods compute offsets using 
> a mix of `int` and `long` arithmetic.
> This can lead to wrong results, which are then passed as arguments to an 
> intrinsic method or to a Java method using `Unsafe`.

And this is exactly why the base offsets are statically typed long in the first 
place...

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

Marked as reviewed by liach (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29957#pullrequestreview-3866770156

Reply via email to