RFR: 8308761: New test TestHFA needs adaptation for JDK-8308276
Martin Doerr
mdoerr at openjdk.org
Wed May 24 12:51:00 UTC 2023
On Wed, 24 May 2023 12:12:25 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Please review this trivial adaptation for JDK-8308276.
>
> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14116#discussion_r1204069281
More information about the core-libs-dev
mailing list