--- old/src/jdk.rmic/share/classes/sun/tools/java/ClassPath.java 2015-06-23 14:29:04.000000000 +0200 +++ new/src/jdk.rmic/share/classes/sun/tools/java/ClassPath.java 2015-06-23 14:29:04.000000000 +0200 @@ -394,7 +394,7 @@ this.pkgDirs = new HashMap<>(); // fill in module directories at the root dir - Path root = fs.getPath("/"); + Path root = fs.getPath("/modules"); try { try (DirectoryStream stream = Files.newDirectoryStream(root)) { for (Path entry: stream) {