[foreign-memaccess+abi] RFR: 8313265: Move the FFM API out of preview

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Jul 27 21:12:03 UTC 2023


On Thu, 27 Jul 2023 17:46:55 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Move the FFM API out of preview, by removing preview feature annotations from the implementation, and adjusting the tests to no longer use `--enable-preview`

Looks good. I believe there's probably other tests to fix - surely Vector tests, and also a couple in stream/spliterator and other areas?

src/java.base/share/classes/java/lang/foreign/AddressLayout.java line 55:

> 53:  * @see #ADDRESS
> 54:  * @see #ADDRESS_UNALIGNED
> 55:  * @since 19

I seem to recall that `@since` should be adjusted to state the version in which we leave preview.

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

PR Review: https://git.openjdk.org/panama-foreign/pull/853#pullrequestreview-1550791754
PR Review Comment: https://git.openjdk.org/panama-foreign/pull/853#discussion_r1276820241


More information about the panama-dev mailing list