RFR: 8369306: Implement invokeAndWait and finishTerminating on headless platform [v3]
Andy Goryachev
angorya at openjdk.org
Fri Oct 10 14:52:19 UTC 2025
On Fri, 10 Oct 2025 12:56:02 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 from reviewer
modules/javafx.graphics/src/main/java/com/sun/glass/ui/headless/NestedRunnableProcessor.java line 66:
> 64: void stopProcessing() {
> 65: for (RunLoopEntry entry : activeRunLoops) {
> 66: runnableQueue.add(() -> entry.active = false);
I would highly recommend declaring `RunLoopEntry.active` `volatile`.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1934#discussion_r2420628403
More information about the openjfx-dev
mailing list