T jcast(abspath_t const &p) { return jcast<T>(p.c_str()); }
T jcast(abspath_t const &p) { return ::crystax::jni::details::jcast_helper<T, const char *>::cast(p.c_str()); }