Clean backport of a test follow-up for #22849 targeting JDK 24. Please review! Thanks in advance.
------------- Commit messages: - Backport 7ba969a576eb92446e40587fecf98e1e4aba8883 Changes: https://git.openjdk.org/jdk/pull/22972/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22972&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8346739 Stats: 7 lines in 3 files changed: 7 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/22972.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22972/head:pull/22972 PR: https://git.openjdk.org/jdk/pull/22972