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

Kevin Rushforth kcr at openjdk.org
Thu May 11 16:23:33 UTC 2023


On Thu, 11 May 2023 16:11:44 GMT, Carl Döbbelin <duke 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.

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

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


More information about the openjfx-dev mailing list