8041150: Avoid silly use of static methods in JavadocTester

Reviewed-by: ksrini
This commit is contained in:
Jonathan Gibbons 2014-04-18 17:25:43 -07:00
parent a2d155dfa9
commit 04e1109b69
131 changed files with 205 additions and 204 deletions

View file

@ -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 {