toJarFile
The real jar/dir File backing loc, or null if it can't be resolved.
The real jar/dir File backing a location uri, or null. Module reference locations (java.lang.module.ModuleReference.location) arrive as URIs, and a union:/jar: URI has no URL stream handler (so URI.toURL() throws) — so resolve straight from the URI.