Skip to content

Commit

Permalink
8278860: Streamline properties for Monocle
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
Johan Vos committed Dec 17, 2021
1 parent 4c5bf44 commit 5422a5a
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -33,6 +33,7 @@
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.Locale;
import java.util.Properties;

public class PlatformUtil {
Expand Down Expand Up @@ -63,7 +64,7 @@ public class PlatformUtil {
embedded = bool1;

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

@SuppressWarnings("removal")
Expand Down

1 comment on commit 5422a5a

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.