This is a test-only fix.
This pull request contains a backport of commit
[679a6d89](https://github.com/openjdk/jdk/commit/679a6d89358eb36c596e3ffa9a86869402c9beb9)
from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
The commit being backported was authored by Mandy Chung on 9 Jun 2023 and
was reviewed by Doug Simon and Alan Bateman.
Thanks!
-------------
Commit messages:
- Backport 679a6d89358eb36c596e3ffa9a86869402c9beb9
Changes: https://git.openjdk.org/jdk21/pull/13/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21&pr=13&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8309303
Stats: 37 lines in 1 file changed: 33 ins; 1 del; 3 mod
Patch: https://git.openjdk.org/jdk21/pull/13.diff
Fetch: git fetch https://git.openjdk.org/jdk21.git pull/13/head:pull/13
PR: https://git.openjdk.org/jdk21/pull/13