This PR reverts the fix done in [JDK-4512626](https://bugs.openjdk.org/browse/JDK-4512626) as it caused few test regressions.
------------- Commit messages: - revert JDK-4512626 fix Changes: https://git.openjdk.org/jdk20/pull/61/files Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=61&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299077 Stats: 213 lines in 4 files changed: 56 ins; 53 del; 104 mod Patch: https://git.openjdk.org/jdk20/pull/61.diff Fetch: git fetch https://git.openjdk.org/jdk20 pull/61/head:pull/61 PR: https://git.openjdk.org/jdk20/pull/61