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

Aleksey Shipilev shade at openjdk.org
Thu May 30 11:44:12 UTC 2024


Changeset: 91a2e753
Author:    Per Minborg <pminborg at openjdk.org>
Committer: Aleksey Shipilev <shade at openjdk.org>
Date:      2024-05-30 11:42:37 +0000
URL:       https://git.openjdk.org/jdk22u/commit/91a2e7536ac4a0fef84ebb53663496eb2d60d237

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

Reviewed-by: shade
Backport-of: 93579c29e3ba60a8bc16d712e7ffc733f324a223

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



More information about the jdk-updates-changes mailing list