RFR: 8282714: synthetic arguments are being added to the constructors of static local classes

Jan Lahoda jlahoda at openjdk.org
Fri Jul 8 16:50:59 UTC 2022

On Thu, 7 Jul 2022 17:09:03 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> Constructors of local records and enums are being added synthetic parameters by the compiler same as it is done for local non-static classes. Also additional synthetic fields were being added to local records, basically free variables from the "enclosing" class. This is against the spec and should be fixed

Looks good to me!


Marked as reviewed by jlahoda (Reviewer).

PR: https://git.openjdk.org/jdk/pull/9412

More information about the compiler-dev mailing list