[jdk19] RFR: 8289228: SegmentAllocator::allocateArray null handling is too lax

Jorn Vernee jvernee at openjdk.org
Mon Jun 27 17:31:43 UTC 2022


On Mon, 27 Jun 2022 16:47:32 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

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

Should test/jdk/java/foreign/TestNulls.java also be reverted?

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

PR: https://git.openjdk.org/jdk19/pull/76


More information about the core-libs-dev mailing list