Update testng and junit tests to use diagnoseConfigurationIssue() method and post processing
------------- Commit messages: - 8380990: Update testng and junit tests to use diagnoseConfigurationIssue() method and post processing Changes: https://git.openjdk.org/jdk/pull/30446/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30446&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8380990 Stats: 181 lines in 21 files changed: 117 ins; 18 del; 46 mod Patch: https://git.openjdk.org/jdk/pull/30446.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30446/head:pull/30446 PR: https://git.openjdk.org/jdk/pull/30446
