The newly released version 0.22 of jni-rs has fixed some previously known soundness bugs and introduced binding macro usages, see https://docs.rs/jni/0.22.0/jni/macro.bind_java_type.html. It is reasonable to reconstruct java-spaghetti based on this jni crate, probably in a manner of avoiding the arbitrary_self_types nightly feature.
I think the remaining reason of not using jni directly in bluest is about the proxy feature not provided by the current jni.
The newly released version 0.22 of
jni-rshas fixed some previously known soundness bugs and introduced binding macro usages, see https://docs.rs/jni/0.22.0/jni/macro.bind_java_type.html. It is reasonable to reconstructjava-spaghettibased on thisjnicrate, probably in a manner of avoiding thearbitrary_self_typesnightly feature.I think the remaining reason of not using
jnidirectly inbluestis about the proxy feature not provided by the currentjni.