On Wed, 24 May 2023 12:48:00 GMT, Martin Doerr <mdo...@openjdk.org> wrote:

>> test/jdk/java/foreign/TestHFA.java line 53:
>> 
>>> 51:     final static SymbolLookup lookup = SymbolLookup.loaderLookup();
>>> 52: 
>>> 53:     static final OfFloat FLOAT = JAVA_FLOAT.withByteAlignment(4);
>> 
>> Is this even required - e.g. the alignment of Java float is 4 bytes...
>
> It's probably not required. It was derived from a jextract generated file.

Do you prefer removing it?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14116#discussion_r1204083863

Reply via email to