On Thu, 4 Jun 2026 08:49:03 GMT, Maurizio Cimadamore <[email protected]> 
wrote:

>> right but it has a reference to top classes, not inner classes
>
> Inner classes should be gone by Gen time?

right but for some reason we don't update it to point to the current class 
being generated. At least at the moment this method is called. See: 
Gen::genClass we create a localEnv that points to the current class, but it is 
a local variable of this method. Probably a bug? but something we shouldn't fix 
as part of this patch

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2507#discussion_r3354872596

Reply via email to