> ### Description > The use of `ThreadDeath` is replaced with checking the exception be of type > `Error` and the thread is `TERMINATED`. > > > ### Test > local and mach5 tier1
Afshin Zafari has updated the pull request incrementally with one additional commit since the last revision: 8301622: ProcessTools.java compilation gets ThreadDeath deprecation warning ------------- Changes: - all: https://git.openjdk.org/jdk/pull/12827/files - new: https://git.openjdk.org/jdk/pull/12827/files/c03cd8f8..473b7cff Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=12827&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12827&range=00-01 Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/12827.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12827/head:pull/12827 PR: https://git.openjdk.org/jdk/pull/12827