On Wed, 24 Jun 2026 14:48:34 GMT, Daisuke Yamazaki <[email protected]> wrote:

> Fix null checking when copying from flat arrays to reference arrays.
> 
> Previously, `FlatArrayKlass::copy_array` called `obj_at_put` without `CHECK`. 
> As aresult, the runtime check for null-restricted arrays was bypassed.
> 
> A new test has been added to verify this behaviour.
> 
> Thanks.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

No issue detected with internal testing.
Looks good to me.

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

Marked as reviewed by fparain (Committer).

PR Review: 
https://git.openjdk.org/valhalla/pull/2577#pullrequestreview-4579657078

Reply via email to