On Wed, 8 Feb 2023 05:45:43 GMT, Prasanta Sadhukhan
wrote:
> > Since a CSR is required, I suggest updating the spec for `isDone` method so
> > that it returns `true` only after `doInBackground` exits. Now `isDone`
> > returns `true` after `cancel` completes but the `DONE` state isn't reached
On Tue, 7 Feb 2023 17:16:41 GMT, Alexey Ivanov wrote:
> Since a CSR is required, I suggest updating the spec for `isDone` method so
> that it returns `true` only after `doInBackground` exits. Now `isDone`
> returns `true` after `cancel` completes but the `DONE` state isn't reached
> yet.
My
On Fri, 3 Feb 2023 14:13:34 GMT, Prasanta Sadhukhan
wrote:
>> SwingWorker done() method [spec
>> ](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/SwingWorker.java#L452)
>> says "Executed on the Event Dispatch Thread after the doInBackground method
>> is
> SwingWorker done() method [spec
> ](https://github.com/openjdk/jdk/blob/master/src/java.desktop/share/classes/javax/swing/SwingWorker.java#L452)
> says "Executed on the Event Dispatch Thread after the doInBackground method
> is finished"
> but there's no mechanism in place to honor that