> The nsk.share.jdi.TestClass1 is used via reflection. The reflective call > creates MethodHandle and one more reference to TestClass1. So the number of > expected references should be incremented. Thanks to @plummercj and @mlchung > for the investigation. > This fix also prints references to inspected class.
Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision: force GC to clean weak references ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/6402/files - new: https://git.openjdk.java.net/jdk/pull/6402/files/196534ed..04676dec Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6402&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6402&range=01-02 Stats: 16 lines in 2 files changed: 9 ins; 3 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/6402.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/6402/head:pull/6402 PR: https://git.openjdk.java.net/jdk/pull/6402