You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In general it's not expected to be a Rust/JNI safety issue to mix up object reference types (e.g. calling methods against the wrong class), since that usually leads to an exception which would be considered safe, even though it likely implies a bug.
Some specific JNI functions are more strict about the object types they are passed and jni-rs should (hopefully) already be using is_instance_of or similar for those cases.
Shouldn't these be
unsafe
, as there are nois_instance_of
/is_assignable_from
checks inside?The text was updated successfully, but these errors were encountered: