--- old/jdk/test/tools/lib/tests/Helper.java 2016-08-08 16:36:56.000000000 -0700 +++ new/jdk/test/tools/lib/tests/Helper.java 2016-08-08 16:36:55.000000000 -0700 @@ -164,7 +164,7 @@ Path srcMod = src.resolve(moduleName); JImageGenerator.generateModuleInfo(srcMod, packages, dependencies); Path destination = classes.resolve(moduleName); - if (!JImageGenerator.compile(srcMod, destination, "-modulepath", modulePath, "-g")) { + if (!JImageGenerator.compile(srcMod, destination, "--module-path", modulePath, "-g")) { throw new AssertionError("Compilation failure"); } return destination;