Refactor the following to run fully in java: test/java/security//Security/ClassLoaderDeadlock/ClassLoaderDeadlock.sh test/java/security//Security/ClassLoaderDeadlock/Deadlock.sh
------------- Commit messages: - JDK-8349348: Refactor ClassLoaderDeadlock.sh and Deadlock.sh to run fully in java Changes: https://git.openjdk.org/jdk/pull/23440/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23440&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8349348 Stats: 191 lines in 4 files changed: 14 ins; 172 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/23440.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/23440/head:pull/23440 PR: https://git.openjdk.org/jdk/pull/23440