< prev index next >

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

Print this page

        

*** 392,402 **** this.fs = fs; this.jrtModules = new LinkedHashSet<>(); this.pkgDirs = new HashMap<>(); // fill in module directories at the root dir ! Path root = fs.getPath("/"); try { try (DirectoryStream<Path> stream = Files.newDirectoryStream(root)) { for (Path entry: stream) { if (Files.isDirectory(entry)) jrtModules.add(entry); --- 392,402 ---- this.fs = fs; this.jrtModules = new LinkedHashSet<>(); this.pkgDirs = new HashMap<>(); // fill in module directories at the root dir ! 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 >