mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
8041150: Avoid silly use of static methods in JavadocTester
Reviewed-by: ksrini
This commit is contained in:
parent
a2d155dfa9
commit
04e1109b69
131 changed files with 205 additions and 204 deletions
|
@ -50,7 +50,7 @@ public class TestNoPackagesFile extends JavadocTester {
|
|||
*/
|
||||
public static void main(String[] args) {
|
||||
TestNoPackagesFile tester = new TestNoPackagesFile();
|
||||
run(tester, ARGS, NO_TEST, NO_TEST);
|
||||
tester.run(ARGS, NO_TEST, NO_TEST);
|
||||
if ((new java.io.File(BUG_ID + "/packages.html")).exists()) {
|
||||
throw new Error("Test Fails: packages file should not be " + "generated anymore.");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue