This pull request is a clean backport of [JDK-8371559](https://bugs.openjdk.org/browse/JDK-8371559). It is a test only change.
------------- Commit messages: - Backport af18fbd42d2a437dd35f33e557a8906ca0c3bd07 Changes: https://git.openjdk.org/jdk/pull/29294/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29294&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8371559 Stats: 59 lines in 1 file changed: 21 ins; 11 del; 27 mod Patch: https://git.openjdk.org/jdk/pull/29294.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29294/head:pull/29294 PR: https://git.openjdk.org/jdk/pull/29294
