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

2022-06-27 Thread Paul Sandoz
On Mon, 27 Jun 2022 20:40:43 GMT, Maurizio Cimadamore 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. > > Maurizio Cimadamore has updated the pull request incremental

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

2022-06-27 Thread Jorn Vernee
On Mon, 27 Jun 2022 20:40:43 GMT, Maurizio Cimadamore 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. > > Maurizio Cimadamore has updated the pull request incremental

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

2022-06-27 Thread Maurizio Cimadamore
On Mon, 27 Jun 2022 17:28:13 GMT, Jorn Vernee wrote: > Should test/jdk/java/foreign/TestNulls.java also be reverted? Yes, I thought I did that, but the changes got reverted by the merge I did. Re-added the changes now. - PR: https://git.openjdk.org/jdk19/pull/76

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

2022-06-27 Thread Maurizio Cimadamore
> 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. Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision: Revert test

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

2022-06-27 Thread Jorn Vernee
On Mon, 27 Jun 2022 16:47:32 GMT, Maurizio Cimadamore 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? ---

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

2022-06-27 Thread Maurizio Cimadamore
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.or