diff -r 67912cbf784a -r 771616d26ca1 test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java --- a/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Tue Mar 06 17:43:21 2018 +0100 +++ b/test/langtools/jdk/javadoc/doclet/testHtmlVersion/TestHtmlVersion.java Tue Mar 06 10:45:47 2018 -0800 @@ -23,7 +23,7 @@ /* * @test - * @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 + * @bug 8072945 8081854 8141492 8148985 8150188 4649116 8173707 8151743 8169819 8183037 8182765 * @summary Test the version of HTML generated by the javadoc tool. * @author bpatel * @library ../lib @@ -41,7 +41,9 @@ @Test void test1() { - javadoc("-d", "out-1", "-private", "-linksource", "-html5", + javadoc("-d", "out-1", + "-private", + "-linksource", "-sourcepath", testSrc, "-use", "pkg", "pkg1", "pkg2", "pkg3"); @@ -53,7 +55,10 @@ @Test void test2() { - javadoc("-d", "out-2", "-private", "-linksource", "-html4", + javadoc("-d", "out-2", + "-html4", + "-private", + "-linksource", "-sourcepath", testSrc, "-use", "pkg", "pkg1", "pkg2", "pkg3"); @@ -65,7 +70,10 @@ @Test void test3() { - javadoc("-d", "out-3", "-private", "-linksource", + javadoc("-d", "out-3", + "-html4", + "-private", + "-linksource", "-sourcepath", testSrc, "-use", "pkg", "pkg1", "pkg2", "pkg3"); @@ -77,7 +85,9 @@ @Test void test4() { - javadoc("-d", "out-4", "-private", "-linksource", "-html5", + javadoc("-d", "out-4", + "-private", + "-linksource", "-sourcepath", testSrc, "-use", "pkg3");