git: openjdk/mobile: 8169467: GetLocalInstance returns JVMTI_ERROR_TYPE_MISMATCH (rather than JVMTI_ERROR_INVALID_SLOT) on static method

duke duke at openjdk.java.net
Fri Nov 22 10:12:38 UTC 2019


Changeset: 0a1737ca
Author:    Serguei Spitsyn <sspitsyn at openjdk.org>
Date:      2019-11-22 10:07:21 +0000
URL:       https://git.openjdk.java.net/mobile/commit/0a1737ca

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

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 mobile-changes mailing list