Stop swallowing an UnsatisfiedLinkError

Change-Id: I37d61274e1527229befabae2c392fd78e279b807
This commit is contained in:
Ken Wakasa 2012-07-26 08:45:07 +09:00
parent d28858ebde
commit e55d78ab0c

View file

@ -31,11 +31,7 @@ public class JniUtils {
try { try {
System.loadLibrary(JniLibName.JNI_LIB_NAME); System.loadLibrary(JniLibName.JNI_LIB_NAME);
} catch (UnsatisfiedLinkError ule) { } catch (UnsatisfiedLinkError ule) {
Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME); Log.e(TAG, "Could not load native library " + JniLibName.JNI_LIB_NAME, ule);
if (LatinImeLogger.sDBG) {
throw new RuntimeException(
"Could not load native library " + JniLibName.JNI_LIB_NAME);
}
} }
} }
} }