--- old/langtools/test/tools/jdeps/lib/JdepsUtil.java 2016-08-07 17:48:07.000000000 -0700 +++ new/langtools/test/tools/jdeps/lib/JdepsUtil.java 2016-08-07 17:48:07.000000000 -0700 @@ -198,7 +198,7 @@ } public ModuleAnalyzer getModuleAnalyzer(Set mods) throws IOException { - // if -check is set, add to the root set and all modules are observable + // if --check is set, add to the root set and all modules are observable addmods(mods); builder.allModules(); return new ModuleAnalyzer(configuration(), pw, mods);