Non-static classes hold a link to their parent classes, which can be avoided.
------------- Commit messages: - [PATCH] Change nested classes in jdk.jlink to static nested classes Changes: https://git.openjdk.java.net/jdk/pull/5983/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5983&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8275386 Stats: 6 lines in 3 files changed: 0 ins; 0 del; 6 mod Patch: https://git.openjdk.java.net/jdk/pull/5983.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/5983/head:pull/5983 PR: https://git.openjdk.java.net/jdk/pull/5983