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

Carl Döbbelin duke at openjdk.org
Sat May 13 17:38:50 UTC 2023


On Sat, 13 May 2023 17:23:55 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:
> 
>   refactored HostUtils

Since `HostUtils` is internal API and not used outside of JFX itself, and `is64bit` is not used anywhere i would say its safe to remove. 

>From its implementation I saw that it checked whether the operating systems architechture was either intel/amd 64 bit or intel itanium(ia64). In any case of an ARM-Architecture, even on ARM64, the method would have returned false.

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

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


More information about the openjfx-dev mailing list