Backport to JDK 27. --------- - [X] I confirm that I make this contribution in accordance with the [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
------------- Commit messages: - Backport 37856eccb36c722e37653b23d21646e9a7dadf06 Changes: https://git.openjdk.org/jdk/pull/31598/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31598&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8386466 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/31598.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31598/head:pull/31598 PR: https://git.openjdk.org/jdk/pull/31598
