--- old/src/java.base/share/classes/jdk/internal/module/ModuleHashesBuilder.java 2018-03-07 17:31:02.000000000 -0800 +++ new/src/java.base/share/classes/jdk/internal/module/ModuleHashesBuilder.java 2018-03-07 17:31:02.000000000 -0800 @@ -30,7 +30,6 @@ import java.lang.module.ResolvedModule; import java.net.URI; import java.nio.file.Path; -import java.nio.file.Paths; import java.util.ArrayDeque; import java.util.Collections; import java.util.Deque; @@ -129,7 +128,7 @@ () -> new InternalError("Selected module " + name + " not on module path")); URI uri = rm.reference().location().get(); - Path path = Paths.get(uri); + Path path = Path.get(uri); String fn = path.getFileName().toString(); if (!fn.endsWith(".jar") && !fn.endsWith(".jmod")) { throw new UnsupportedOperationException(path + " is not a modular JAR or jmod file");