Integrated: 8265796: vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with JEP 416
Leonid Mesnik
lmesnik at openjdk.java.net
Tue Nov 23 19:31:20 UTC 2021
On Tue, 16 Nov 2021 02:03:46 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 7cb56a23
Author: Leonid Mesnik <lmesnik at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/7cb56a230dbd52935ae48fe44b4192ae3b4d7adb
Stats: 18 lines in 3 files changed: 13 ins; 2 del; 3 mod
8265796: vmTestbase/nsk/jdi/ObjectReference/referringObjects/referringObjects002/referringObjects002.java fails when running with JEP 416
Reviewed-by: cjplummer, mchung
-------------
PR: https://git.openjdk.java.net/jdk/pull/6402
More information about the serviceability-dev
mailing list