On Tue, 20 Dec 2022 23:13:25 GMT, Jonathan Gibbons <[email protected]> wrote:
> Please review a test-only cleanup for JDK 21. > > There are two mostly-automated (IDE) changes here: > > 1. Remove redundant boiler-plate arguments from calls to > `JavadocTester.runTests()`. The use of a function to derive and provide a > method-specific directory because unnecessary with JDK- > 2. Use `var` for the declaration of the `tester` variable found in the `main` > method of most javadoc tests. > > The changes were mostly done with IDEA _Replace in Files..._, with some > manual fixup for some outlying cases found while checking the code. This pull request has now been integrated. Changeset: 2294f225 Author: Jonathan Gibbons <[email protected]> URL: https://git.openjdk.org/jdk/commit/2294f225c074516abd2fecf5c64e2e1a2453bc6f Stats: 559 lines in 269 files changed: 0 ins; 0 del; 559 mod 8286311: remove boilerplate from use of runTests Reviewed-by: hannesw ------------- PR: https://git.openjdk.org/jdk/pull/11746
