On Mon, 29 Jan 2024 22:13:25 GMT, Kevin Rushforth <k...@openjdk.org> wrote:
>> I don't think the executor service catches the exception because if it did >> then the `AnimationTimer` test would also always pass. I do get the AIOOB >> exceptions from the background thread caught in the handler (which fails the >> test). This test is rather stable for me. The `Animation` one is more >> problematic, sometimes failing and sometimes not when it should fail. > > Based on the testing I did, the executor service does prevent at least some > exceptions that happen on the test thread from reaching the uncaught > exception handler. An explicit try/catch will catch those. Alright, will implement the change. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/1352#discussion_r1470335752