8319444: Unhelpful failure output in TestLegalNotices

Reviewed-by: hannesw, jjg
This commit is contained in:
Liam Miller-Cushon 2023-11-29 17:49:30 +00:00
parent cdd1a6e851
commit 62418c681e

View File

@ -111,6 +111,8 @@ public class TestLegalNotices extends JavadocTester {
super.out.println(" Found: " + foundFiles);
if (foundFiles.equals(expectFiles)) {
passed("Found all expected files");
} else {
failed("Did not find all expected files");
}
// See JDK-8306980
@ -168,4 +170,4 @@ public class TestLegalNotices extends JavadocTester {
return files;
}
}
}
}