RFR: 8308761: New test TestHFA needs adaptation for JDK-8308276
Martin Doerr
mdoerr at openjdk.org
Wed May 24 12:59:56 UTC 2023
On Wed, 24 May 2023 12:48:00 GMT, Martin Doerr <mdoerr at 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
More information about the core-libs-dev
mailing list