--- old/src/java.base/share/classes/jdk/internal/loader/ClassLoaders.java 2018-03-07 17:31:00.000000000 -0800 +++ new/src/java.base/share/classes/jdk/internal/loader/ClassLoaders.java 2018-03-07 17:31:00.000000000 -0800 @@ -28,7 +28,7 @@ import java.io.IOException; import java.net.URL; import java.nio.file.InvalidPathException; -import java.nio.file.Paths; +import java.nio.file.Path; import java.security.CodeSource; import java.security.PermissionCollection; import java.util.jar.Manifest; @@ -223,7 +223,7 @@ // Use an intermediate File object to construct a URI/URL without // authority component as URLClassPath can't handle URLs with a UNC // server name in the authority component. - return Paths.get(s).toRealPath().toFile().toURI().toURL(); + return Path.get(s).toRealPath().toFile().toURI().toURL(); } catch (InvalidPathException | IOException ignore) { // malformed path string or class path element does not exist return null;