< prev index next >

src/jdk.rmic/share/classes/sun/tools/java/ClassPath.java

Print this page

        

@@ -392,11 +392,11 @@
         this.fs = fs;
         this.jrtModules = new LinkedHashSet<>();
         this.pkgDirs = new HashMap<>();
 
         // fill in module directories at the root dir
-        Path root = fs.getPath("/");
+        Path root = fs.getPath("/modules");
         try {
             try (DirectoryStream<Path> stream = Files.newDirectoryStream(root)) {
                 for (Path entry: stream) {
                     if (Files.isDirectory(entry))
                         jrtModules.add(entry);
< prev index next >