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

Maurizio Cimadamore mcimadamore at openjdk.java.net
Fri Nov 26 15:12:24 UTC 2021


On Fri, 26 Nov 2021 14:58:08 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 35576e79
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/35576e794693bb546c8c05383296f2edd06dcb4c
Stats:     7 lines in 5 files changed: 0 ins; 0 del; 7 mod

Replace `ofAddressNative` with `ofAddress`

Reviewed-by: jvernee

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

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


More information about the panama-dev mailing list