On Mon, 7 Sep 2026 23:31:26 GMT, Marius Hanl <[email protected]> wrote:

> This PR integrates the `Platform` functionality into `PlatformUtil`, so that 
> we only have one place where we do OS stuff. And can delete `Platform`.
> 
> Something that was first discussed in 
> https://github.com/openjdk/jfx/pull/1864 and I also saw when I did the 
> cleanup some months ago in PR https://github.com/openjdk/jfx/pull/2190.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

I'll take a closer look, but I'm not sure I like the idea of putting glass 
knowledge (system properties, etc) into the `javafx.base` module, which is what 
I also said 
[here](https://github.com/openjdk/jfx/pull/1864#issuecomment-3176849873).

Moving it into `javafx.graphics`, which I suggested in that PR comment (without 
looking into what that would mean), would likely be more intrusive. Did you 
consider that?

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

PR Comment: https://git.openjdk.org/jfx/pull/2299#issuecomment-5587204508

Reply via email to