--- old/jdk/test/java/security/modules/ModularTest.java 2016-08-08 16:33:18.000000000 -0700 +++ new/jdk/test/java/security/modules/ModularTest.java 2016-08-08 16:33:17.000000000 -0700 @@ -137,7 +137,7 @@ final StringJoiner command = new StringJoiner(SPACE, SPACE, SPACE); vmArgs.forEach((key, value) -> command.add(key + value)); if (modulePath != null) { - command.add("-mp").add(modulePath.toFile().getCanonicalPath()); + command.add("--module-path").add(modulePath.toFile().getCanonicalPath()); } if (classPath != null && classPath.length() > 0) { command.add("-cp").add(classPath);