This is the JDK27 backport for https://github.com/openjdk/jdk/pull/31318
--------- - [x] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). ------------- Commit messages: - Backport 92298786486daf092c8eb8f278818441df1f6b51 Changes: https://git.openjdk.org/jdk/pull/31406/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31406&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8385355 Stats: 63 lines in 2 files changed: 53 ins; 1 del; 9 mod Patch: https://git.openjdk.org/jdk/pull/31406.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31406/head:pull/31406 PR: https://git.openjdk.org/jdk/pull/31406
