On Wed, 15 Dec 2021 20:39:54 GMT, Johan Vos <j...@openjdk.org> wrote:

> Base decisions in prism for embedded cases on the same glass.platform 
> property that is also used in glass.
> This PR replaces the property `embedded` with the property `glass.platform` .
> 
> There is only 1 place where the property `embedded` was read, which is in the 
> PlatformUtil.java.
> 
> There are only 2 places where the value of that property is used, and in both 
> cases the only check is to detect whether or not that property has a value of 
> "monocle".

modules/javafx.base/src/main/java/com/sun/javafx/PlatformUtil.java line 67:

> 65: 
> 66:         @SuppressWarnings("removal")
> 67:         String str2 = 
> AccessController.doPrivileged((PrivilegedAction<String>) () -> 
> System.getProperty("glass.platform","").toLowerCase(Locale.ROOT));

Minor: maybe add a space after the comma

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

PR: https://git.openjdk.java.net/jfx/pull/696

Reply via email to