--- a/langtools/test/jdk/javadoc/doclet/testModules/TestModules.java Wed Aug 10 13:52:02 2016 -0700
+++ b/langtools/test/jdk/javadoc/doclet/testModules/TestModules.java Wed Aug 10 15:47:46 2016 -0700
@@ -42,8 +42,8 @@
@Test
void test1() {
javadoc("-d", "out", "-use",
- "-modulesourcepath", testSrc,
- "-addmods", "module1,module2",
+ "--module-source-path", testSrc,
+ "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(true);
@@ -57,8 +57,8 @@
@Test
void test2() {
javadoc("-d", "out-html5", "-html5", "-use",
- "-modulesourcepath", testSrc,
- "-addmods", "module1,module2",
+ "--module-source-path", testSrc,
+ "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(true);
@@ -72,8 +72,8 @@
@Test
void test3() {
javadoc("-d", "out-nocomment", "-nocomment", "-use",
- "-modulesourcepath", testSrc,
- "-addmods", "module1,module2",
+ "--module-source-path", testSrc,
+ "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testDescription(false);
@@ -84,8 +84,8 @@
@Test
void test4() {
javadoc("-d", "out-html5-nocomment", "-nocomment", "-html5", "-use",
- "-modulesourcepath", testSrc,
- "-addmods", "module1,module2",
+ "--module-source-path", testSrc,
+ "--add-modules", "module1,module2",
"testpkgmdl1", "testpkgmdl2");
checkExit(Exit.OK);
testHtml5Description(false);
@@ -108,8 +108,8 @@
javadoc("-d", "out-mdltags", "-author", "-version",
"-tag", "regular:a:Regular Tag:",
"-tag", "moduletag:s:Module Tag:",
- "-modulesourcepath", testSrc,
- "-addmods", "moduletags,module2",
+ "--module-source-path", testSrc,
+ "--add-modules", "moduletags,module2",
"testpkgmdltags", "testpkgmdl2");
checkExit(Exit.OK);
testModuleTags();