On Thu, 1 Jun 2023 20:57:25 GMT, Maurizio Cimadamore <mcimadam...@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