Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d07f5d92 authored by Nicolas Geoffray's avatar Nicolas Geoffray
Browse files

Call the right JNI helper.

The method returns void, so we should use CallStaticVoidMethod.

Test: test_com.android.art
Bug: 218518604
Change-Id: I911b6b62cb00f52565a3a95b111b80115f4df3a1
parent c9a39b30
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
        }