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

Marius Hanl mhanl at openjdk.org
Sat May 13 16:32:47 UTC 2023


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

> replaced implementation of OS checks in HostUtils with calls of PlatformUtil

modules/javafx.media/src/main/java/com/sun/media/jfxmediaimpl/HostUtils.java line 77:

> 75:     }
> 76: 
> 77:     /**

`isEmbedded` can also be replaced by `PlatformUtil`.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1134#discussion_r1193010989


More information about the openjfx-dev mailing list