7077423: Enable Xrender by default
authorprr
Fri, 12 Aug 2011 09:48:09 -0700
changeset 10312 4df16d1321e9
parent 10102 65f6b9d89493
child 10313 0def93fb66ba
7077423: Enable Xrender by default Reviewed-by: bae, jgodinez, ceisserer
jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
--- a/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java	Mon Aug 01 17:40:38 2011 -0700
+++ b/jdk/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java	Fri Aug 12 09:48:09 2011 -0700
@@ -95,11 +95,11 @@
                     }
 
                     // Now check for XRender system property
-                    boolean xRenderRequested = false;
+                    boolean xRenderRequested = true;
                     String xProp = System.getProperty("sun.java2d.xrender");
                         if (xProp != null) {
-                        if (xProp.equals("true") || xProp.equals("t")) {
-                            xRenderRequested = true;
+                        if (xProp.equals("false") || xProp.equals("f")) {
+                            xRenderRequested = false;
                         } else if (xProp.equals("True") || xProp.equals("T")) {
                             xRenderRequested = true;
                             xRenderVerbose = true;