Please review a simple change to recursively copy subdirectories of `doc-files` directory by default in JavaDoc, making the `-docfilessubdirs` option a no-op. This also adds support for "*" as a wildcard argument to the `-excludedocfilessubdir` option to allow to restore the old behavior.
The test changes mostly result from removing now-duplicate tests for recursive copying, and replacing them with tests for exclusion, including the new wildcard exclusion. --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Add exclusion and wildcard exclusion tests - Update option help message - Update tests - Tune messages - 8347112: Copy nested directories in doc-files by default Changes: https://git.openjdk.org/jdk/pull/30942/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30942&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8347112 Stats: 194 lines in 7 files changed: 130 ins; 22 del; 42 mod Patch: https://git.openjdk.org/jdk/pull/30942.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30942/head:pull/30942 PR: https://git.openjdk.org/jdk/pull/30942
