[foreign-memaccess+abi] RFR: Remove PlatformLayout [v4]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Feb 16 14:46:49 UTC 2023


On Thu, 16 Feb 2023 13:21:21 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR suggests removing the class `PlatformLayout`.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix failing test

test/jdk/java/foreign/callarranger/platform/PlatformLayouts.java line 87:

> 85:          * The {@code T*} native type.
> 86:          */
> 87:         public static final ValueLayout.OfAddress C_POINTER = cPointer(C_CHAR);

Can you use SharedUtils.C_POINTER here? It's the same thing.

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

PR: https://git.openjdk.org/panama-foreign/pull/794


More information about the panama-dev mailing list