[foreign-memaccess+abi] RFR: 8290880: Add static MemorySegment::mismatch method [v2]
Maurizio Cimadamore
mcimadamore at openjdk.org
Mon Jul 25 10:48:18 UTC 2022
> 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
Maurizio Cimadamore has updated the pull request incrementally with one additional commit since the last revision:
Update static mismatch signature to match Arrays.mismatch
Update tests
Update javadoc
-------------
Changes:
- all: https://git.openjdk.org/panama-foreign/pull/691/files
- new: https://git.openjdk.org/panama-foreign/pull/691/files/3daebadc..03dc60e2
Webrevs:
- full: https://webrevs.openjdk.org/?repo=panama-foreign&pr=691&range=01
- incr: https://webrevs.openjdk.org/?repo=panama-foreign&pr=691&range=00-01
Stats: 86 lines in 3 files changed: 39 ins; 9 del; 38 mod
Patch: https://git.openjdk.org/panama-foreign/pull/691.diff
Fetch: git fetch https://git.openjdk.org/panama-foreign pull/691/head:pull/691
PR: https://git.openjdk.org/panama-foreign/pull/691
More information about the panama-dev
mailing list