]> git.eshelyaron.com Git - emacs.git/commit
Correct JNI string error checking and miscellaneous corrections
authorPo Lu <luangruo@yahoo.com>
Sun, 7 Jul 2024 02:19:31 +0000 (10:19 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:17:01 +0000 (15:17 +0200)
commit0ce154bac6e5ba588f059564dd724bc042e59f8b
tree527cdceabfdd2c1f6a8477b515d6b274106a3859
parent19630d4636fb7374ea9e7e76153f283705826680
Correct JNI string error checking and miscellaneous corrections

* src/android-emacs.c (main): Do not attempt to load the
bootstrap class path, which is redundant on all Android releases.

* src/android.c (initEmacs, android_browse_url): Do not assume
exceptions will be raised if GetStringUTFChars fails.  Decode
Android JNI strings as Qandroid_jni.

* src/androidvfs.c (android_saf_check_nonnull): New function.
(android_saf_new_mkdir): Likewise.

(cherry picked from commit 99e510977b22ca60e48b2af70a3c2cdbd90b2b01)
src/android-emacs.c
src/android.c
src/androidvfs.c