On Fri, 3 Feb 2023 12:20:53 GMT, Alexey Ivanov <[email protected]> wrote:
>> It seems the order of sequence is >> listener->State.STARTED->doInBackground->listener->DONE->done > >> It seems the order of sequence is >> listener->State.STARTED->doInBackground->listener->DONE->done > > Yes, but the different order is specified: listener(STARTED) -> > doInBackground -> done -> listener(DONE). But then it will violate https://github.com/openjdk/jdk/blob/810c8a271b4524ae776e2306ef699e04a7d145a2/src/java.desktop/share/classes/javax/swing/SwingWorker.java#L288-L293 ------------- PR: https://git.openjdk.org/jdk/pull/11940
