On Fri, 4 Sep 2026 14:35:34 GMT, Per Minborg <[email protected]> wrote:

> This PR proposes to fix an error in `SegmentBulkOperations::mismatch` so it 
> will throw `IllegalStateException` on closed zero-sized memory segments.
> 
> A new test is also proposed.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: 734646fc
Author:    Per Minborg <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/734646fc7de00e2d2a017132604421b75680330b
Stats:     15 lines in 2 files changed: 14 ins; 0 del; 1 mod

8391837: MemorySegment.mismatch does not throw for zero-sized segments

Reviewed-by: mcimadamore

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

PR: https://git.openjdk.org/jdk/pull/32708

Reply via email to