[foreign-jextract] RFR: 8262198: Overhaul bitfield parsing logic
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Tue Feb 23 18:20:46 UTC 2021
On Tue, 23 Feb 2021 18:00:42 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
>> actual size can be less if there are bitfields - in which case we need to emit a padding word to make sure the union layout has right size.
>
> Yes, I'm wondering if there can be cases where the actualSize is larger than the expected size, which isn't checked here currently.
I'll add an assertion
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/459
More information about the panama-dev
mailing list