diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2016-08-24 23:34:34 +0800 |
---|---|---|
committer | Sebastian Rasmussen <sebras@gmail.com> | 2016-09-01 23:09:05 +0800 |
commit | 7b6bc6ed4513bf19f96968702eba926d820f46bc (patch) | |
tree | b9ef02c70b57a65dea296a7210e4779f7740ab64 /platform/java/src | |
parent | 339fa94fa241b22c8e84a3d1e28879c0a07ee3cb (diff) | |
download | mupdf-7b6bc6ed4513bf19f96968702eba926d820f46bc.tar.xz |
JNI: Check for exceptions after calling method.
The return value from CallObjectMethod() is not valid if an exception
is thrown, so check for exceptions before looking at the return value.
Mentioned at http://developer.android.com/training/articles/perf-jni.html
Diffstat (limited to 'platform/java/src')
0 files changed, 0 insertions, 0 deletions