RFR: 8357157: Exception thrown from AnimationTimer freezes application [v2]

Michael Strauß mstrauss at openjdk.org
Fri May 16 18:12:35 UTC 2025


On Fri, 16 May 2025 17:51:40 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   review comments
>
> modules/javafx.graphics/src/main/java/com/sun/scenario/animation/AbstractPrimaryTimer.java line 331:
> 
>> 329:         }
>> 330: 
>> 331:         receiversLocked = false;
> 
> if L327 throws an exception, `receiversLocked` will not get cleared.

I've changed the `handleException` method so it will not throw.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1811#discussion_r2093488460


More information about the openjfx-dev mailing list