Hi,

After the previous discussion on this list about the Headless Platform
requiring its own module or not [1], I continued working on it without
creating a new module for it.
I updated the code in my fork of the jfx-sandbox repository [2] and builds
of it are available in the Gluon JavaFX downloads [3]. The last build is
based on the 25-ea+18-headless tag [4] so you can easily build it yourself
if you want to.

On Linux, almost all systemtests, including the ROBOT tests, are passing.
There are a few exceptions which I believe require separate discussion as
there are reasons for each one of them to fail in the context of a headless
environment.

Moving forward, I can create a PR as there is a JDK issue for this [5]. I
don't think a JEP is needed, as there is no public API being touched and
there is almost no interaction with other components. The only change that
needs to be documented is that one has to use -Dglass.platform=Headless to
select the headless platform -- but even that is not a new property key
(just a new value).
But if needed, I can create a JEP.

If not, I'll create a PR soon that will create most of the code that is
currently in the sandbox, with some cleanups.

- Johan

[1] https://mail.openjdk.org/pipermail/openjfx-dev/2025-May/054357.html
[2]
https://github.com/openjdk/jfx-sandbox/compare/master...johanvos-headless
[3] https://gluonhq.com/products/javafx/#headless
[4] https://github.com/openjdk/jfx-sandbox/releases/tag/25%2B18-headless
[5] https://bugs.openjdk.org/browse/JDK-8324941

Reply via email to