-
Enhancement
-
Resolution: Fixed
-
P4
-
None
-
None
-
master
In some JavaFX use cases, it is desired to not have any output to a window/screen at all.
Currently, the Monocle platform is often used in those cases, as it provides a Headless subplatform. The drawback of this approach is that apart from a Headless subplatform, Monocle also contains a number of other platforms that contain very platform-specific code and requires very specific toolchains.
While the Headless subplatform is almost platform agnostic, the process of building, distributing/bundling and running Monocle itself is very platform-specific.
A first-class headless glass platform would address the usecases where a headless context is required, without being bundled with code that is designed to be highly platform-specific.
In this POC, we propose a headless platform that can be set via -Dglass.platform=Headless and that will execute the JavaFX application without rendering to a screen/window.
A Robot implementation should be delivered as well, allowing JavaFX tests to be executed on this lightweight, headless platform.
- causes
-
JDK-8364204 Clipboardtest fails on headless
-
- Open
-
-
JDK-8364203 Ignore native mac tests on headless
-
- Resolved
-
- relates to
-
JDK-8364209 [placeholder] add implementations for unimplemented headless platform methods
-
- New
-
-
JDK-8364201 Configuration for headless platform
-
- Open
-
-
JDK-8364208 Add manual headless tests
-
- Open
-
-
JDK-8364210 Improve window filtering in HeadlessWindowManager
-
- Open
-
-
JDK-8364211 Allow multiple windows to be active in headless mode
-
- Open
-
- links to
-
Commit(master) openjdk/jfx/3c4d2905
-
Review(master) openjdk/jfx/1836