On Mon, 19 Oct 2026 23:03:05 GMT, Jose Pereda <[email protected]> wrote:
> This PR fixes an intermittent failing system test. > > On slow runs, calling `stage::show` and then Platform.runLater(stage::close)` > before the test started could cause that the assertion in `stage.isShowing()` > failed, if the test started after the stage was already closed. > > Moving the call to close the stage to the test guarantees that the failing > assertion passes, fixing the intermittent failure, while not altering the > rest of the test. > > --------- > - [X] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 6fbe432e Author: Jose Pereda <[email protected]> URL: https://git.openjdk.org/jfx/commit/6fbe432e855f0fc21b418f1424bda8a842a5fab7 Stats: 7 lines in 1 file changed: 4 ins; 3 del; 0 mod 8394826: [Test] closingOwnerWindowDoesNotThrowTest fails intermittently Reviewed-by: kcr ------------- PR: https://git.openjdk.org/jfx/pull/2350
