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

Commit e224fabb authored by Owen Lin's avatar Owen Lin
Browse files

Fix segfault when tring to throw IOException.

Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
parent a9164cbb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ void doThrowOOME(JNIEnv* env, const char* msg) {
}

void doThrowIOE(JNIEnv* env, const char* msg) {
    doThrow(env, "java/lang/IOException", msg);
    doThrow(env, "java/io/IOException", msg);
}

bool GraphicsJNI::hasException(JNIEnv *env) {