RFR: 8351357: Add canary system test checking if Stage receives focus on show
Kevin Rushforth
kcr at openjdk.org
Tue Jun 17 15:20:35 UTC 2025
On Tue, 17 Jun 2025 14:46:08 GMT, Martin Fox <mfox at openjdk.org> wrote:
>> Perhaps we ought to have a utility (latch?) to ensure the sequence?
>
> A delay of some sort is necessary to give the event loop time to process the event.
Right. I think Andy was suggesting a latch (with a timeout) that would be triggered (counted down to 0) when the event was received. This would also remove the concern I raised about the flag not being volatile.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1804#discussion_r2152546804
More information about the openjfx-dev
mailing list