RFR: 8306137: Open source several AWT ScrollPane related tests

Phil Race prr at openjdk.org
Mon Apr 24 18:56:16 UTC 2023


On Mon, 24 Apr 2023 18:43:26 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> I preferred asynchronous EDT would be better since its finally block. Is there any particular reason that we should use `invokeAndWait` than `invokeLater`?
>
>> I preferred asynchronous EDT would be better since its finally block. Is there any particular reason that we should use `invokeAndWait` than `invokeLater`?
> 
> You want to **wait** until the frame is disposed of before exiting the main thread otherwise it doesn't make sense.

yes, I just noticed this in a different proposed change and I agree wait makes more sense.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1175668212



More information about the client-libs-dev mailing list