On Fri, 17 Feb 2023 15:35:03 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> I think the previous iteration of the fix was not run the doneEDT if the 
>> setState throws an exception, while the current version, and initial code 
>> always run it.
>
> @mrserb I have submitted 
> [JDK-8302778](https://bugs.openjdk.org/browse/JDK-8302778): _SwingWorker 
> loses notifications if a handler throws an exception_.
> 
> The provided 
> [LostNotifications.java](https://github.com/aivanov-jdk/jdk/blob/e4042edc654849a992710a0e0d23ec8df4fe14c4/test/jdk/javax/swing/SwingWorker/LostNotifications.java)
>  test fails on 8, 11, 17 and 21.
> 
> It proves that this problem is not related to the current fix, however, the 
> test for this issue has uncovered it.

That look fine.

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

PR: https://git.openjdk.org/jdk/pull/11940

Reply via email to