RFR: JDK-8308028 Replace more uses of System.getProperty("os.name") with PlatformUtil calls [v2]

Glavo duke at openjdk.org
Sat May 13 17:23:56 UTC 2023


On Sat, 13 May 2023 16:40:39 GMT, Carl Döbbelin <duke at openjdk.org> wrote:

>> replaced implementation of OS checks in HostUtils with calls of PlatformUtil
>
> Carl Döbbelin has updated the pull request incrementally with one additional commit since the last revision:
> 
>   added isEmbedded

> I have looked at `HostUtils` further. The only method it implements itself is the `is64bit`, which checks whether the architechture is 64 bit. i could not find any uses os this method anywhere.
> 
> i think it may be a valid option to replace calls of `HostUtils` by calls of `PlatformUtil` and move `is64bit` in the `PlatformUtil` as well. It may also be an option to remove it completely.

Sounds great, I was just about to say the same.

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

PR Comment: https://git.openjdk.org/jfx/pull/1134#issuecomment-1546714118


More information about the openjfx-dev mailing list