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`.

This pull request has now been integrated.

Changeset: dbbb3b1a
Author:    Raffaello Giulietti <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/dbbb3b1ac5fd218ed2b3c7247f6602a7a58ca4de
Stats:     13 lines in 1 file changed: 0 ins; 0 del; 13 mod

8378833: Improve offset arithmetic in ArraysSupport::mismatch

Reviewed-by: liach, alanb, rriggs

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

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

Reply via email to