This pull request contains a backport of commit [d6c2ee34](https://urldefense.com/v3/__https://github.com/openjdk/jdk/commit/d6c2ee3448a14b3e5a392aacc11ed8e47d388f80__;!!ACWV5N9M2RV99hQ!OD7LAhsqxyc5YNrxjKmpLYJCCngVm706aY3NMRMXyihGIzSIbP4H6H2INaanHemHbj9dHTsmhmOUJZhPmeXAa5_r8Rsx$) from the [openjdk/jdk](https://git.openjdk.org/jdk) repository.
It fixes the regression introduced by [JDK-8297923](https://bugs.openjdk.org/browse/JDK-8297923). ------------- Commit messages: - Backport d6c2ee3448a14b3e5a392aacc11ed8e47d388f80 Changes: https://git.openjdk.org/jdk21/pull/33/files Webrev: https://webrevs.openjdk.org/?repo=jdk21&pr=33&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8310054 Stats: 13 lines in 3 files changed: 7 ins; 1 del; 5 mod Patch: https://git.openjdk.org/jdk21/pull/33.diff Fetch: git fetch https://git.openjdk.org/jdk21.git pull/33/head:pull/33 PR: https://git.openjdk.org/jdk21/pull/33
