hg: jdk/sandbox: 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method

chris.hegarty at oracle.com chris.hegarty at oracle.com
Fri Nov 22 10:15:18 UTC 2019


Changeset: f16e4154dd7b
Author:    sspitsyn
Date:      2019-11-22 10:07 +0000
URL:       https://hg.openjdk.java.net/jdk/sandbox/rev/f16e4154dd7b

8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method
Summary: Add necessary check to GetLocalInstance implementation
Reviewed-by: amenkov, cjplummer

! src/hotspot/share/prims/jvmtiImpl.cpp
! test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/GetLocalVariable/getlocal003.java
! test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/GetLocalVariable/getlocal003/getlocal003.cpp



More information about the jdk-sandbox-changes mailing list