Refactor `test/jdk/java/lang/Thread/UncaughtExceptions.sh` as java test. -------------
Commit messages: - 8166026: Refactor java/lang shell tests to java Changes: https://git.openjdk.java.net/jdk/pull/1578/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1578&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8166026 Stats: 411 lines in 2 files changed: 206 ins; 205 del; 0 mod Patch: https://git.openjdk.java.net/jdk/pull/1578.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1578/head:pull/1578 PR: https://git.openjdk.java.net/jdk/pull/1578