On Fri, 22 Aug 2025 04:49:25 GMT, Ioi Lam <ik...@openjdk.org> wrote: > I think we need a stronger check -- make sure that no user classes are > initialized at the end of the assembly phase. This check should be sufficient > because executing code in any class will result in its initialization.
That would be a good check. Do we still assembly-time initialize Enums? I thought in earlier implementations we had initialized all enum classes but I'm having trouble finding the code now. If we do, the new "no user class initialized" check may fail on Enums ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26375#discussion_r2293846625