RFR: 8369306: Implement invokeAndWait and finishTerminating on headless platform [v4]

Andy Goryachev angorya at openjdk.org
Tue Oct 14 15:34:16 UTC 2025


On Tue, 14 Oct 2025 08:24:36 GMT, Jose Pereda <jpereda at openjdk.org> wrote:

>> This PR implements `invokeAndWait` and `finishTerminating` for the headless platform and includes two system tests, one for each, that fail before this PR, and pass after it.
>
> Jose Pereda has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Process feedback

Marked as reviewed by angorya (Reviewer).

tests/system/src/test/java/test/com/sun/glass/ui/headless/HeadlessApplication2Test.java line 77:

> 75:             fxThread.join(10);
> 76:         }  catch (InterruptedException e) {
> 77:             fail.set(true);

`Assertions.fail()` might work too

-------------

PR Review: https://git.openjdk.org/jfx/pull/1934#pullrequestreview-3336283309
PR Review Comment: https://git.openjdk.org/jfx/pull/1934#discussion_r2429616805


More information about the openjfx-dev mailing list