backport of PR: https://github.com/openjdk/jdk/pull/17252
------------- Commit messages: - Backport 755722ced60a686799c7f419feae61c04ce41f09 Changes: https://git.openjdk.org/jdk22/pull/32/files Webrev: https://webrevs.openjdk.org/?repo=jdk22&pr=32&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8322214 Stats: 144 lines in 3 files changed: 140 ins; 0 del; 4 mod Patch: https://git.openjdk.org/jdk22/pull/32.diff Fetch: git fetch https://git.openjdk.org/jdk22.git pull/32/head:pull/32 PR: https://git.openjdk.org/jdk22/pull/32