git: openjdk/jdk: 8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment

Per Minborg pminborg at openjdk.org
Mon Mar 25 09:39:06 UTC 2024


Changeset: 93579c29
Author:    Per Minborg <pminborg at openjdk.org>
Date:      2024-03-25 09:37:24 +0000
URL:       https://git.openjdk.org/jdk/commit/93579c29e3ba60a8bc16d712e7ffc733f324a223

8323552: AbstractMemorySegmentImpl#mismatch returns -1 when comparing distinct areas of the same instance of MemorySegment

Reviewed-by: mcimadamore

! src/java.base/share/classes/jdk/internal/foreign/AbstractMemorySegmentImpl.java
! test/jdk/java/foreign/TestMismatch.java



More information about the jdk-changes mailing list