[foreign-jextract] RFR: 8277830: jextract generated code should not depend on Java layouts
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Mon Nov 29 15:57:21 UTC 2021
On Mon, 29 Nov 2021 15:53:30 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
>> Ah I guess this code is only called from the methods below.
>
> yeah - this is just for the primitive layout that get added "by default".
Note also that we do not really have a way to deal with hyper (or under) aligned types (e.g. pragma pack). See:
https://bugs.openjdk.java.net/browse/JDK-8259832
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/620
More information about the panama-dev
mailing list