Now that [JDK-8373246](https://bugs.openjdk.org/browse/JDK-8373246) is in JDK 26, we need this fix to unbreak GHA in JDK 26.
Additional testing: - [ ] GHA ------------- Commit messages: - Backport d063c9546b4a500f4c76fcd01442c2b7281f6d65 Changes: https://git.openjdk.org/jdk/pull/29161/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29161&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8374507 Stats: 5 lines in 5 files changed: 5 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/29161.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/29161/head:pull/29161 PR: https://git.openjdk.org/jdk/pull/29161
