On Fri, 13 Feb 2026 12:32:02 GMT, Paul Hübner <[email protected]> wrote:
> Hi all,
>
> This change hardens our assertions and fixes a bug.
>
> Testing: tiers 1-3.
src/hotspot/share/classfile/fieldLayoutBuilder.cpp line 104:
> 102:
> 103: if (lk != LayoutKind::REFERENCE) {
> 104: assert(lk != LayoutKind::BUFFERED, "Sanity check");
I'm not sure if this is 100% correct. As far as I know we don't use BUFFERED
when building the layout but I could be mistaken, and my tests pass. Let me
know!
-------------
PR Review Comment:
https://git.openjdk.org/valhalla/pull/2103#discussion_r2804083622