On Fri, 5 Jun 2026 14:47:44 GMT, Alexander Zvegintsev <[email protected]> wrote:
>> Arno Zeller has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Update copyright > > test/jdk/javax/swing/SwingWorker/TestDoneBeforeDoInBackground.java line 126: > >> 124: }); >> 125: worker.execute(); >> 126: workerStarted.await(); > > I suppose it would be safer to call the `await` with a timeout. I must admit that I don't quite understand why this would be safer. My assumption is that if the latch is never counted down, something has already gone seriously wrong, and we would end up hitting the jtreg timeout regardless. But I may be missing some aspect of the reasoning here. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/31348#discussion_r3370841448
