RFR: 8081474: SwingWorker calls 'done' before the 'doInBackground' is finished [v5]

Alexey Ivanov aivanov at openjdk.org
Tue Jan 31 13:09:58 UTC 2023


On Tue, 31 Jan 2023 12:29:48 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>>> OK..I have removed unconditional setting of DONE state.. But then as I mentioned, it would cause JCK failure, so I have reverted isDone() change too...
>> 
>> Should we update the spec for `isDone()`? I think it's the right way because it makes the behaviour consistent. Doing so requires a CSR which will be the grounds for updating the JCK test.
>
> I am not sure if it is entirely wrong..I will keep it as it is for now..I dont want to go in CSR route for now..
> The present iteration takes care of reproducer and also satisifies JCK..
> If in future it is needed, we can take a look..

Let's see what others have to say.

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

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



More information about the client-libs-dev mailing list