[foreign-jextract] RFR: Replace `ofAddressNative` with `ofAddress`

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Nov 26 15:05:35 UTC 2021


The PR for JEP-419 tweaked the name of an API method, namely `MemorySegment.ofAddressNative` which was renamed to `MemorySegment::ofAddress` (which is consistent with other restricted factories).

This change updates the jextract code and tests so that the old method name is no longer used.

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

Commit messages:
 - Replace `ofAddressNative` with `ofAddress`

Changes: https://git.openjdk.java.net/panama-foreign/pull/619/files
 Webrev: https://webrevs.openjdk.java.net/?repo=panama-foreign&pr=619&range=00
  Stats: 7 lines in 5 files changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.java.net/panama-foreign/pull/619.diff
  Fetch: git fetch https://git.openjdk.java.net/panama-foreign pull/619/head:pull/619

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


More information about the panama-dev mailing list