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

@ -1,5 +1,5 @@
/*
* Copyright (c) 2002, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2002, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -48,7 +48,7 @@ public class TestHrefInDocComment extends JavadocTester {
*/
public static void main(String[] args) {
TestHrefInDocComment tester = new TestHrefInDocComment();
if (run(tester, ARGS, TEST, NEGATED_TEST) != 0) {
if (tester.run(ARGS, TEST, NEGATED_TEST) != 0) {
throw new Error("Javadoc failed to execute properly with given source.");
}