This PR is a backport of for two failing tests in a special environment. It is a test only fix and would be nice to have it in JDK 27 too. Low risk - test only change --------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
------------- Commit messages: - Backport 2ac4a2db146be58fd8d82b6882af62013bb4a6b9 Changes: https://git.openjdk.org/jdk/pull/32072/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=32072&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386595 Stats: 4 lines in 2 files changed: 0 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk/pull/32072.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/32072/head:pull/32072 PR: https://git.openjdk.org/jdk/pull/32072
