changeset 4509:6664b47ddfd9

7077423: Enable Xrender by default Reviewed-by: bae, jgodinez, ceisserer
author prr
date Fri, 12 Aug 2011 09:48:09 -0700
parents 996547848b00
children f372807e122b
files src/solaris/classes/sun/awt/X11GraphicsEnvironment.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/awt/X11GraphicsEnvironment.java	Mon Aug 01 17:40:38 2011 -0700
+++ b/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;