* src/android.c (android_wc_lookup_string): Check that
GetStringChars returns non-NULL, not if it throws an exception.
/* Now return this input method string. */
characters = (*android_java_env)->GetStringChars (android_java_env,
string, NULL);
- android_exception_check_1 (string);
+ android_exception_check_nonnull (characters, string);
/* Figure out how big the string is. */
size = (*android_java_env)->GetStringLength (android_java_env,