langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java
changeset 44021 3ea5514d9fbe
parent 44019 284fa2ebd030
child 44063 5f0cf4126949
--- a/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java	Sat Feb 25 18:02:06 2017 -0800
+++ b/langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/file/Locations.java	Tue Feb 28 13:57:39 2017 -0800
@@ -963,7 +963,7 @@
         void add(ModuleLocationHandler h) {
             nameMap.put(h.moduleName, h);
             for (Path p : h.searchPath) {
-                pathMap.put(p.toAbsolutePath().normalize(), h);
+                pathMap.put(normalize(p), h);
             }
         }
 
@@ -977,7 +977,7 @@
                 }
             }
             for (Path p : h.searchPath) {
-                pathMap.put(p.toAbsolutePath().normalize(), h);
+                pathMap.put(normalize(p), h);
             }
         }