Failures of the test are usually caused by unexpected frame in the stack. Also the failures are intermittent, so it makes sense to report more details on error to simplify analysis. The fix adds stack trace printing if the test fails
------------- Commit messages: - print stack trace on error Changes: https://git.openjdk.org/jdk/pull/10733/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10733&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8295427 Stats: 77 lines in 1 file changed: 72 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jdk/pull/10733.diff Fetch: git fetch https://git.openjdk.org/jdk pull/10733/head:pull/10733 PR: https://git.openjdk.org/jdk/pull/10733