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

Carl Döbbelin duke at openjdk.org
Fri May 12 16:29:50 UTC 2023


On Fri, 12 May 2023 15:09:35 GMT, Kevin Rushforth <kcr 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.

Can you open a ticket in the Bugtracker? Ill create a separate PR for it.

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

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


More information about the openjfx-dev mailing list