Integrated: 8282714: synthetic arguments are being added to the constructors of static local classes
Vicente Romero
vromero at openjdk.org
Fri Jul 8 17:28:45 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
>
> TIA
This pull request has now been integrated.
Changeset: 9c86c820
Author: Vicente Romero <vromero at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9c86c82091827e781c3919b4b4410981ae322732
Stats: 126 lines in 4 files changed: 107 ins; 1 del; 18 mod
8282714: synthetic arguments are being added to the constructors of static local classes
Reviewed-by: jlahoda
-------------
PR: https://git.openjdk.org/jdk/pull/9412
More information about the compiler-dev
mailing list