--- a/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java Wed Jun 27 16:19:28 2018 -0700
+++ b/test/langtools/jdk/javadoc/doclet/testSearch/TestSearch.java Thu Jun 28 01:46:03 2018 +0200
@@ -631,9 +631,9 @@
"camelCaseMatcher.test(item.l)",
"var secondaryresult = new Array();",
"function nestedName(e) {",
- "function sortAndConcatResults(a1, a2) {",
+ "function concatResults(a1, a2) {",
"if (exactMatcher.test(item.l)) {\n"
- + " presult.unshift(item);",
+ + " presult.push(item);",
"$(\"#search\").on('click keydown', function() {\n"
+ " if ($(this).val() == watermark) {\n"
+ " $(this).val('').removeClass('watermark');\n"