RFR: 8340205: Native linker allows MemoryLayout consisting of only PaddingLayout [v5]

Vladimir Kozelkov duke at openjdk.org
Mon Oct 7 14:53:38 UTC 2024


On Mon, 23 Sep 2024 16:35:18 GMT, Per Minborg <pminborg at openjdk.org> wrote:

>> This PR prevents sequence layout with padding to be used with the Linker.
>
> Per Minborg has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Reword doce

These rules talk about GroupLayout, and use the term "follow" for group members. But surely this is only true for structs, not unions? I don't really understand why unions should allow PaddingLayout inside themselves at all.

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

PR Comment: https://git.openjdk.org/jdk/pull/21041#issuecomment-2397151115


More information about the core-libs-dev mailing list