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

Liam Miller-Cushon cushon at openjdk.java.net
Mon Nov 22 22:33:48 UTC 2021


> 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 three additional commits since the last revision:

 - Negate condition inside loop
 - Clean up tests
 - Use a shorter name for Target setting

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/4966/files
  - new: https://git.openjdk.java.net/jdk/pull/4966/files/f90c7560..0ebe65ae

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=4966&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=4966&range=03-04

  Stats: 83 lines in 11 files changed: 10 ins; 49 del; 24 mod
  Patch: https://git.openjdk.java.net/jdk/pull/4966.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/4966/head:pull/4966

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


More information about the compiler-dev mailing list