From 3b9ec2b02e8077be5f1d65e95536f1913300bd82 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Wed, 17 Jan 2024 14:55:30 +0800 Subject: [PATCH] Fix ThrowInvocationTimeError initialization Fix #65 Co-authored-by: canyie --- lsplant/src/main/jni/art/runtime/art_method.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lsplant/src/main/jni/art/runtime/art_method.hpp b/lsplant/src/main/jni/art/runtime/art_method.hpp index 668c9d5b4..84a7f5a53 100644 --- a/lsplant/src/main/jni/art/runtime/art_method.hpp +++ b/lsplant/src/main/jni/art/runtime/art_method.hpp @@ -274,6 +274,7 @@ class ArtMethod { LOGE("Failed to find Executable.getName"); return false; } + RETRIEVE_MEM_FUNC_SYMBOL(ThrowInvocationTimeError, "_ZN3art9ArtMethod24ThrowInvocationTimeErrorEv"); auto abstract_method = FromReflectedMethod( env, JNI_ToReflectedMethod(env, executable, executable_get_name, false)); uint32_t access_flags = abstract_method->GetAccessFlags();