Call the right JNI helper.
The method returns void, so we should use CallStaticVoidMethod. Test: test_com.android.art Bug: 218518604 Change-Id: I911b6b62cb00f52565a3a95b111b80115f4df3a1
This commit is contained in:
parent
c9a39b3066
commit
d07f5d926a
@ -1620,7 +1620,7 @@ static void SpecializeCommon(JNIEnv* env, uid_t uid, gid_t gid, jintArray gids,
|
||||
}
|
||||
// Also prefetch standalone system server jars. The reason for doing this here is the same
|
||||
// as above.
|
||||
env->CallStaticObjectMethod(gZygoteInitClass, gPrefetchStandaloneSystemServerJars);
|
||||
env->CallStaticVoidMethod(gZygoteInitClass, gPrefetchStandaloneSystemServerJars);
|
||||
if (env->ExceptionCheck()) {
|
||||
env->ExceptionClear();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user