On Thu, 25 Jun 2026 18:13:13 GMT, Andy Goryachev <[email protected]> wrote:
>> Michael Strauß has updated the pull request incrementally with one >> additional commit since the last revision: >> >> remove "unix" platform > > modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html line > 1052: > >> 1050: <tr> >> 1051: <td class="value nowrap">-fx-platform</td> >> 1052: <td class="value">android | embedded | headless | ios >> | linux | macos | windows</td> > > what does `embedded` mean in this context? > is an embedded linux a `linux` or `embedded`? > > maybe just remove it, like `unix`? The problem is that a stylesheet is loaded when `embedded` is `true`. https://github.com/openjdk/jfx/blob/edf20b532fa9eeff14c06f9e041c93babf82bbe3/modules/javafx.graphics/src/main/java/com/sun/javafx/application/PlatformImpl.java#L789-L792 So it is needed to replace that. As far as I understand, `embedded` is like `headless`, a platform that can be used together with e.g. `linux`. You could just set the system property (like we do for our headless tests) and it will match the platform. ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2193#discussion_r3488088411
