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

Marius Hanl mhanl at openjdk.org
Sat May 13 17:25:49 UTC 2023


On Sat, 13 May 2023 17:19:34 GMT, Glavo <duke at openjdk.org> wrote:

> 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.

Since `is64bit` is unused, `HostUtils` is basically a delegate for `PlatformUtil`. So we might as well delete it completely and replace all occurrences with `PlatformUtil`. And as written by Kevin in the ticket, this is a valid choice so we might as well do it.

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

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


More information about the openjfx-dev mailing list