JNIEnv trampoline can return capabilities