summaryrefslogtreecommitdiff
path: root/runtime/openjdkjvmti/OpenjdkJvmTi.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2016-10-28 18:07:18 -0700
committer Andreas Gampe <agampe@google.com> 2016-10-28 18:07:18 -0700
commit36bcd4f3f56adf889d488b3fd0fdc7e38e519675 (patch)
treeb29f6c8284fdc2cad7d4f090929e854e221ea8d4 /runtime/openjdkjvmti/OpenjdkJvmTi.cc
parent368a2088fe24738cfc534c21141c881cf5ff4238 (diff)
ART: Add GetMethodModifiers
Support GetMethodModifiers to retrieve the modifiers of a JNI method. Extend test 910. Bug: 31684812 Test: m test-art-host-run-test-910-methods Change-Id: Ib44df099bc056c557e526d5fa267df48ac2fd86c
Diffstat (limited to 'runtime/openjdkjvmti/OpenjdkJvmTi.cc')
-rw-r--r--runtime/openjdkjvmti/OpenjdkJvmTi.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/openjdkjvmti/OpenjdkJvmTi.cc b/runtime/openjdkjvmti/OpenjdkJvmTi.cc
index f95ec591d9..9c3e4fcf2c 100644
--- a/runtime/openjdkjvmti/OpenjdkJvmTi.cc
+++ b/runtime/openjdkjvmti/OpenjdkJvmTi.cc
@@ -654,7 +654,7 @@ class JvmtiFunctions {
static jvmtiError GetMethodModifiers(jvmtiEnv* env,
jmethodID method,
jint* modifiers_ptr) {
- return ERR(NOT_IMPLEMENTED);
+ return MethodUtil::GetMethodModifiers(env, method, modifiers_ptr);
}
static jvmtiError GetMaxLocals(jvmtiEnv* env,