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

serguei.spitsyn at oracle.com serguei.spitsyn at oracle.com
Fri Nov 22 10:07:58 UTC 2019


Changeset: f16e4154dd7b
Author:    sspitsyn
Date:      2019-11-22 10:07 +0000
URL:       https://hg.openjdk.java.net/jdk/jdk/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-all-changes mailing list