[foreign-memaccess+abi] RFR: Fix failing test

Maurizio Cimadamore mcimadamore at openjdk.org
Fri Feb 17 10:36:56 UTC 2023


On Fri, 17 Feb 2023 10:29:03 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> This PR fixes a failing test.
>
> test/jdk/java/foreign/callarranger/TestLayoutEquality.java line 29:
> 
>> 27:  * @enablePreview
>> 28:  * @compile platform/PlatformLayouts.java
>> 29:  * @modules java.base/jdk.internal.foreign java.base/jdk.internal.foreign.abi
> 
> Is the first module export still required? Seems to me that only `foreign.abi` is needed (looking at the imports)

Also, please check the import - I see this in the file:


import platform.PlatformLayouts;


This doesn't see to make sense?

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

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


More information about the panama-dev mailing list