RFR: 8328716: [TestBug] Screen capturing utility for failed tests [v3]

Andy Goryachev angorya at openjdk.org
Tue Apr 1 20:42:16 UTC 2025


On Tue, 1 Apr 2025 20:11:13 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> This suggests that the test watcher doesn't get called until after the @AfterEach method has run.

That's entirely possible.  I suppose one can register a Thread::uncaughtExceptionHandler and call a static method, something like ScreenCapture::takeScreenshot() (to be added).

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1746#issuecomment-2770628641


More information about the openjfx-dev mailing list