Recent fix for JDK-8289188 relaxed behavior or `SegmentAllocator::allocateArray` too much w.r.t. nulls. This patch reverts null handling to what it used to be.
------------- Commit messages: - Merge branch 'master' into allocateArray_null - Revert null changes Changes: https://git.openjdk.org/jdk19/pull/76/files Webrev: https://webrevs.openjdk.org/?repo=jdk19&pr=76&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8289228 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk19/pull/76.diff Fetch: git fetch https://git.openjdk.org/jdk19 pull/76/head:pull/76 PR: https://git.openjdk.org/jdk19/pull/76