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

Good catch! Thank you for the fix and the test.
I'm currently testing the changes with our internal test suites, I'll 
communicate the results as soon as the runs are completed.

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

PR Comment: https://git.openjdk.org/valhalla/pull/2577#issuecomment-4792098149

Reply via email to