On Tue, 6 Dec 2022 05:09:40 GMT, Ambarish Rapte <[email protected]> wrote:
>> Thiago Milczarek Sayao has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Add new line
>
> tests/system/src/test/java/test/robot/javafx/scene/SceneChangeShouldNotFocusStageTest.java
> line 61:
>
>> 59: public static void initFX() throws Exception {
>> 60: new Thread(() -> Application.launch(TestApp.class, (String[])
>> null)).start();
>> 61: waitForLatch(startupLatch, 10, "FX runtime failed to start.");
>
> With the changes made in #950, we have a new pattern for launch and exit.
> These two lines would be now: `Util.launch(startupLatch, TestApp.class);`
> and similarly exit method would be : `Util.shutdown(stage);`
> and `waitForLatch` method can be removed.
Done.
-------------
PR: https://git.openjdk.org/jfx/pull/940