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

> This PR proposes adding a missing liveness check for 
> `SegmentBulkOperation::copy` if the `size` is zero.
> 
> It also proposes to add a small test.
> 
> ---------
> - [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: 4a73e8fc
Author:    Per Minborg <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/4a73e8fc3741ba6c8092f16da3283b4f21af2d39
Stats:     15 lines in 2 files changed: 13 ins; 0 del; 2 mod

8391841: MemorySegment.copy does not throw for zero-sized segments

Reviewed-by: jvernee

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

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

Reply via email to