RFR: 8261880: Change nested classes in java.base to static nested classes where possible [v2]

Сергей Цыпанов github.com+10835776+stsypanov at openjdk.java.net
Wed Feb 17 16:38:03 UTC 2021


> Non-static classes hold a link to their parent classes, which in many cases can be avoided.

Сергей Цыпанов has updated the pull request incrementally with one additional commit since the last revision:

  8261880: Remove static from declarations of Holder nested classes

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2589/files
  - new: https://git.openjdk.java.net/jdk/pull/2589/files/5650cce4..c6f9cf6b

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2589&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2589&range=00-01

  Stats: 4 lines in 4 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2589.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2589/head:pull/2589

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



More information about the security-dev mailing list