[foreign-abi] Integrated: Improve StdLibTest to use new helpers

Maurizio Cimadamore mcimadamore at openjdk.java.net
Wed Jul 1 13:45:35 UTC 2020


On Wed, 1 Jul 2020 13:01:09 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

> This patch improves StdLibTest to use the new static accessors in MemoryAccess, as well as some of the recently added
> improvements to NativeScope and MemorySegment (such as the ability to create off-heap segments from Java arrays and
> back). As part of this change, as I saw that the test (probably inadvertently) depended on the var handle constant
> defined in CSupport (which has also been accidentally exposed), I applied minor rewrites to also use the static
> accessors in CSupport and SharedUtils.

This pull request has now been integrated.

Changeset: 77fc7982
Author:    Maurizio Cimadamore <mcimadamore at openjdk.org>
URL:       https://git.openjdk.java.net/panama-foreign/commit/77fc7982
Stats:     55 lines in 3 files changed: 27 ins; 7 del; 21 mod

Improve StdLibTest to use new helpers

Reviewed-by: sundar, jvernee

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

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


More information about the panama-dev mailing list