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

@ -60,7 +60,7 @@ public class TestEmptyClass extends JavadocTester {
*/
public static void main(String[] args) {
TestEmptyClass tester = new TestEmptyClass();
int exitCode = run(tester, ARGS, TEST, NEGATED_TEST);
int exitCode = tester.run(ARGS, TEST, NEGATED_TEST);
tester.printSummary();
if (exitCode != 0) {
throw new Error("Error found while executing Javadoc");