
Update `UrlJarFileFactory` so that `runtimeVersion` is used by default instead of `baseVersion`. Prior to this commit we tried to mirror the JDK handler on look for a `#runtime` fragment. This unfortunately doesn't work with the URLs produced by `URLClassPath`. This commit also fixes a bug in `NestedJarFile` where we didn't return the correct result from `hasEntry`. Fixes gh-38050