pub fn execute_with_jni_env<T>( jvm: &JavaVM, f: impl FnOnce(&mut JNIEnv<'_>) -> Result<T>, ) -> Result<T>