Change Thread.resume() to error reporting and add some time to complete thread.
------------- Commit messages: - fix - 8294881: test/hotspot/jtreg/vmTestbase/nsk/jdi/VirtualMachine/dispose/dispose003/TestDescription.java fails Changes: https://git.openjdk.org/jdk/pull/10877/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10877&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8294881 Stats: 17 lines in 1 file changed: 14 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk/pull/10877.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10877/head:pull/10877 PR: https://git.openjdk.org/jdk/pull/10877