diff --git a/src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java b/src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java index 4c2d636..d42fb97 100644 --- a/src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java +++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/file/JavacFileManager.java @@ -323,7 +323,7 @@ synchronized Container getContainer(Path path) throws IOException { return fs; } - if (fsInfo.isFile(path) && path.equals(Locations.thisSystemModules)) { + if (fsInfo.isFile(path) && path.equals(Locations.thisSystemModules())) { containers.put(path, fs = new JRTImageContainer()); return fs; }