summaryrefslogtreecommitdiff
path: root/runtime/native/dalvik_system_VMDebug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/native/dalvik_system_VMDebug.cc')
-rw-r--r--runtime/native/dalvik_system_VMDebug.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc
index 08cf0e6d4f..c3be52106c 100644
--- a/runtime/native/dalvik_system_VMDebug.cc
+++ b/runtime/native/dalvik_system_VMDebug.cc
@@ -318,9 +318,9 @@ static jlong VMDebug_countInstancesOfClass(JNIEnv* env,
static jobject VMDebug_getExecutableMethodFileOffsetsNative(JNIEnv* env,
jclass,
- jobject javaMethod) {
+ jobject javaExecutable) {
ScopedObjectAccess soa(env);
- ObjPtr<mirror::Executable> m = soa.Decode<mirror::Executable>(javaMethod);
+ ObjPtr<mirror::Executable> m = soa.Decode<mirror::Executable>(javaExecutable);
if (m == nullptr) {
soa.Self()->ThrowNewExceptionF("Ljava/lang/RuntimeException;",
"Could not find mirror::Executable for supplied jobject");
@@ -712,7 +712,7 @@ static JNINativeMethod gMethods[] = {
NATIVE_METHOD(
VMDebug,
getExecutableMethodFileOffsetsNative,
- "(Ljava/lang/reflect/Method;)Ldalvik/system/VMDebug$ExecutableMethodFileOffsets;"),
+ "(Ljava/lang/reflect/Executable;)Ldalvik/system/VMDebug$ExecutableMethodFileOffsets;"),
};
void register_dalvik_system_VMDebug(JNIEnv* env) {