This is a diagnostic update related to [JDK-8295804](https://bugs.openjdk.org/browse/JDK-8295804). The issue was not reproducible and was showing up in particular machines (Where the machines are down now). So adding a screen capture to `BufferedImage` in case of failure so that it will help in analysis when the issue comes up in future.
------------- Commit messages: - Diagnostic approach Changes: https://git.openjdk.org/jdk/pull/12060/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12060&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8300405 Stats: 10 lines in 1 file changed: 9 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/12060.diff Fetch: git fetch https://git.openjdk.org/jdk pull/12060/head:pull/12060 PR: https://git.openjdk.org/jdk/pull/12060
