On Wed, 2 Dec 2026 07:51:31 GMT, Alan Bateman <[email protected]> wrote:
> Test only change to fix a race in testThreadContainer where > SynchronousQueue::put consumes the parking permit that the main thread makes > available. The test is changed to use a CompletableFuture so that the main > thread waits. testStructuredTaskScopeJoin is updated to do the same. This > test doesn't have an issue but it keeps the hand offs in the two tests the > same. In passing, improved the robustness of testWaitingThread. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). Looks good. ------------- Marked as reviewed by sspitsyn (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/34179#pullrequestreview-6158784659
