[foreign-memaccess+abi] Integrated: 8290880: Add static MemorySegment::mismatch method
Maurizio Cimadamore
mcimadamore at openjdk.org
Tue Jul 26 18:38:49 UTC 2022
On Fri, 22 Jul 2022 12:52:40 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> As discussed in [1], it would be useful if the `MemorySegment` class provided a static mismatch method, similarly to what we have provided for `copy`.
>
> This patch adds that method, and rewrites the existing instance `mismatch` method to be based on that new static method.
> It then adds new tests to cover the new static method.
>
> [1] - https://mail.openjdk.org/pipermail/panama-dev/2022-June/017099.html
This pull request has now been integrated.
Changeset: bb2ef3e2
Author: Maurizio Cimadamore <mcimadamore at openjdk.org>
URL: https://git.openjdk.org/panama-foreign/commit/bb2ef3e25abd6d4fb1286f58ea013eb5afe12b25
Stats: 234 lines in 3 files changed: 182 ins; 35 del; 17 mod
8290880: Add static MemorySegment::mismatch method
Reviewed-by: jvernee
-------------
PR: https://git.openjdk.org/panama-foreign/pull/691
More information about the panama-dev
mailing list