On Wed, 24 Jun 2026 17:45:03 GMT, Frederic Parain <[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. @fparain Thank you for your review. I'll proceed with merging this PR. ------------- PR Comment: https://git.openjdk.org/valhalla/pull/2577#issuecomment-4809903866
