RFR: JDK-8307807 Replace use of System.getProperty("os.name") with PlatformUtil calls [v5]

Kevin Rushforth kcr at openjdk.org
Fri May 12 15:11:57 UTC 2023


On Thu, 11 May 2023 20:11:07 GMT, Nir Lisker <nlisker at openjdk.org> wrote:

> Looks good. Do you want to replace `HostUtils`'s OS detection with `PlatformUtil` (or were they split on purpose)?

I think this might be a good change, but I'll leave it up to @EstelonAgarwaen . To minimize the intrusion, you could just change the implementation of the four `HostUtils` methods that check `os.name` to call the equivalent `PlatformUtil` methods rather than changing all of the call sites.

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

PR Comment: https://git.openjdk.org/jfx/pull/1132#issuecomment-1545896369


More information about the openjfx-dev mailing list