Function javavm::get_env_safe[][src]

pub fn get_env_safe() -> Option<JNIEnv<'static>>
Expand description

Retrieves the current JNIEnv from the JavaVM. Does not panic if there is no JavaVM currently set and returns None instead