[foreign-memaccess] Integrated: 8252866: MemoryAccess.setAddress should take Addressable, not MemoryAddress

Maurizio Cimadamore mcimadamore at openjdk.java.net
Mon Sep 7 12:08:26 UTC 2020


`MemoryAccess::setAddress` should be made more flexible by accepting an `Addressable` instance. This reflects the API
design principle of *Be liberal in what you accept, and conservative in what you send*.

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

Commit messages:
 - Add support for addressable in MemoryAccess

Changes: https://git.openjdk.java.net/panama-foreign/pull/310/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=310&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8252866
  Stats: 50 lines in 2 files changed: 41 ins; 0 del; 9 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/310.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/310/head:pull/310

PR: https://git.openjdk.java.net/panama-foreign/pull/310


More information about the panama-dev mailing list