[foreign-jextract] RFR: 8262851: jextract crashes with "Cannot compute size of a layout which is, or depends on a sequence layout with unspecified size"

Maurizio Cimadamore mcimadamore at openjdk.java.net
Thu Mar 4 15:05:54 UTC 2021


On Tue, 2 Mar 2021 14:27:35 GMT, Athijegannathan Sundararajan <sundar at openjdk.org> wrote:

> problematic fields are skipped with a warning

After conducting some more experiments, it seems like calling bitsSize casts too wide of a net - as that would fail also for fields *preceding* the VLA.

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

Marked as reviewed by mcimadamore (Committer).

PR: https://git.openjdk.java.net/panama-foreign/pull/464


More information about the panama-dev mailing list