--- old/src/java.base/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java 2018-12-06 17:53:05.741442454 -0500 +++ new/src/java.base/windows/classes/sun/net/www/protocol/jar/JarFileFactory.java 2018-12-06 17:53:05.573441621 -0500 @@ -76,7 +76,7 @@ // Deal with UNC pathnames specially. See 4180841 String host = url.getHost(); - if (host != null && !host.equals("") && + if (host != null && !host.isEmpty() && !host.equalsIgnoreCase("localhost")) { url = new URL("file", "", "//" + host + url.getPath());