The test javax/crypto/CryptoPermissions/InconsistentEntries.java uses CDSTestUtils.clone to copy the JDK into the scratch dir by creating symbolic links, but this was seen to crash the VM in Windows Server 2025. To ensure test stability, it should hard copy the required files.
------------- Commit messages: - refactoring imports in FileUtils - moved copyDirectory to FileUtils - hard copying jdk folder to scratch Changes: https://git.openjdk.org/jdk/pull/23726/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23726&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8350456 Stats: 29 lines in 2 files changed: 27 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/23726.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23726/head:pull/23726 PR: https://git.openjdk.org/jdk/pull/23726