The fix updates the test to use special method to wait for ThreadDeathEvent for the specific thread, ignoring event from other threads
------------- Commit messages: - Filter out events from unexpected threads Changes: https://git.openjdk.java.net/jdk/pull/3133/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3133&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8262081 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod Patch: https://git.openjdk.java.net/jdk/pull/3133.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/3133/head:pull/3133 PR: https://git.openjdk.java.net/jdk/pull/3133