On Tue, 1 Apr 2025 20:11:13 GMT, Kevin Rushforth <k...@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

Reply via email to