RFR: 8271623: Omit enclosing instance fields from inner classes that don't use it [v2]

Liam Miller-Cushon cushon at openjdk.java.net
Sat Oct 9 03:46:11 UTC 2021


On Tue, 3 Aug 2021 18:48:00 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> This change omits the synthetic `this$0` field from inner classes that do not access any enclosing instance state.
>
> Liam Miller-Cushon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add a test case with nested inner classes

There was some more discussion in https://mail.openjdk.java.net/pipermail/amber-spec-experts/2021-October/003141.html

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

PR: https://git.openjdk.java.net/jdk/pull/4966


More information about the compiler-dev mailing list