]> granicus.if.org Git - libjpeg-turbo/commit
Android: Fix "using JNI after critical get" errors
authorDRC <information@libjpeg-turbo.org>
Fri, 12 Apr 2019 13:47:28 +0000 (08:47 -0500)
committerDRC <information@libjpeg-turbo.org>
Fri, 12 Apr 2019 13:49:27 +0000 (08:49 -0500)
commit33011754e616286d68b36bee0d48543ea64808b5
treea60c215fb4b18c470b70092cb459c53c412ec92d
parentbce58f487e2f1fbcc21c576acf4fac7db7bc6928
Android: Fix "using JNI after critical get" errors

5ea77d8b771bf7b0be7acc7fb70c255f8c9c8f77 was insufficient to fix all of
these.  In particular, we need to always release the primitive arrays
before throwing an exception, because throwing an exception qualifies as
"using JNI."

Refer to #300
turbojpeg-jni.c