< prev index next >

src/java.desktop/macosx/classes/sun/java2d/macos/MacOSFlags.java

Print this page

        

@@ -30,11 +30,11 @@
 public class MacOSFlags {
 
     /**
      * Description of command-line flags.  All flags with [true|false]
      * values
-     *      metalEnabled: usage: "-Djb.java2d.metal=[true|false]"
+     *      metalEnabled: usage: "-Dsun.java2d.metal=[true|false]"
      */
 
     private static boolean metalEnabled;
 
     static {

@@ -73,11 +73,11 @@
     }
 
     private static void initJavaFlags() {
         java.security.AccessController.doPrivileged(
                 (PrivilegedAction<Object>) () -> {
-                    metalEnabled = getBooleanProp("jb.java2d.metal", false);
+                    metalEnabled = getBooleanProp("sun.java2d.metal", false);
                     return null;
                 });
     }
 
     public static boolean isMetalEnabled() {
< prev index next >