backported from jdk mainline "as is" without any modifications. -------------
Commit messages: - Backport 176606d0cb9117ca9080261f898cd57339fa5a85 Changes: https://git.openjdk.org/jdk22/pull/49/files Webrev: https://webrevs.openjdk.org/?repo=jdk22&pr=49&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8310995 Stats: 38 lines in 37 files changed: 38 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk22/pull/49.diff Fetch: git fetch https://git.openjdk.org/jdk22.git pull/49/head:pull/49 PR: https://git.openjdk.org/jdk22/pull/49