RFR: 8308645: Javadoc of FFM API needs to be refreshed [v4]

Jorn Vernee jvernee at openjdk.org
Thu Jun 1 21:51:12 UTC 2023


On Thu, 1 Jun 2023 20:57:25 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:

>> On a related note: should we even allow sequences of padding layouts?
>
> I let sequence of padding slide on the basis that groups of padding are allowed. But it's a somewhat arbitrary line. That said, we do use stuff like that in jextract, where we model types we don't support (or bitfields) as padding. I think starting to ban padding in certain places would result in a less compositional API - and perhaps tools would have to workaround some of these limitations.

Thanks, I agree with that analogy

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14098#discussion_r1213714285


More information about the core-libs-dev mailing list