I would like to have this small test improvement in jdk27. It is a test-only change - applies clean and has no risk.
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Backport a47f3620f2cae26e2e3f3642bd26871fdd02fddb Changes: https://git.openjdk.org/jdk/pull/31734/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31734&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8382063 Stats: 16 lines in 1 file changed: 12 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/31734.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31734/head:pull/31734 PR: https://git.openjdk.org/jdk/pull/31734
