Fix ThrowInvocationTimeError initialization

Fix #65

Co-authored-by: canyie <a1364259@163.com>
This commit is contained in:
LoveSy 2024-01-17 14:55:30 +08:00
parent 4ec86d14f4
commit 3b9ec2b02e
No known key found for this signature in database

View File

@ -274,6 +274,7 @@ public:
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();