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

Carl Döbbelin duke at openjdk.org
Thu May 11 16:23:34 UTC 2023


On Thu, 11 May 2023 16:20:10 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

> > > > I cannot use the PlatformUtils in the `com.sun.webkit.network.URLLoader` class, as the PlatformUtils are not Exported to the corresponding module.
> > > 
> > > 
> > > I wonder if this was done on purpose.
> > 
> > 
> > i assumed it was.
> 
> In this case, it just wasn't needed at the time `module-info.java` was created. There would be no problem adding `javafx.web` to the list of modules that `com.sun.javafx` is exported to.

then i will do so.

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

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


More information about the openjfx-dev mailing list