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

> This PR proposes to fix a bug in the `MemorySegment::asOverlapingSlice` which 
> incorrectly computes the size of the overlapping region. 
> 
> A parameterized test is also proposed via this PR
> 
> ---------
> - [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: 837596c3
Author:    Per Minborg <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/837596c39306d11365337c628294a8a4f19b107f
Stats:     24 lines in 2 files changed: 19 ins; 0 del; 5 mod

8391831: MemorySegment.asOverlappingSlice() fails for enclosed segment

Reviewed-by: mcimadamore

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

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

Reply via email to