--- a/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java Tue May 29 12:57:39 2018 -0500
+++ b/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java Tue May 29 11:20:04 2018 -0700
@@ -24,7 +24,7 @@
/*
* @test
* @bug 8141492 8071982 8141636 8147890 8166175 8168965 8176794 8175218 8147881
- * 8181622 8182263 8074407 8187521 8198522 8182765 8199278 8196201
+ * 8181622 8182263 8074407 8187521 8198522 8182765 8199278 8196201 8196202
* @summary Test the search feature of javadoc.
* @author bpatel
* @library ../lib
@@ -67,6 +67,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkInvalidUsageIndexTag();
@@ -105,6 +106,7 @@
"-Xdoclint:all",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.ERROR);
checkDocLintErrors();
@@ -142,6 +144,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(false);
@@ -167,6 +170,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(true);
@@ -193,6 +197,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(false);
@@ -216,6 +221,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(true);
@@ -241,6 +247,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
setAutomaticCheckLinks(true); // @ignore JDK-8202627
checkExit(Exit.OK);
@@ -266,6 +273,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkInvalidUsageIndexTag();
@@ -293,6 +301,7 @@
"--disable-javafx-strict-checks",
"-package",
"-use",
+ "--frames",
"pkgfx", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(true);
@@ -318,6 +327,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchOutput(true, false);
@@ -345,6 +355,7 @@
"-Xdoclint:none",
"-sourcepath", testSrc,
"-use",
+ "--frames",
"pkg", "pkg1", "pkg2", "pkg3");
checkExit(Exit.OK);
checkSearchJS();