changeset 4761:8daaca510253

7144064: [macosx] "Could not find class" error in JTree's ctor when called in headless mode Reviewed-by: anthony
author kizune
date Mon, 13 Feb 2012 14:13:09 +0300
parents 0abbb7caa624
children 0e2f3e494814
files src/solaris/native/java/lang/java_props_md.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/native/java/lang/java_props_md.c	Sat Feb 11 21:40:48 2012 -0800
+++ b/src/solaris/native/java/lang/java_props_md.c	Mon Feb 13 14:13:09 2012 +0300
@@ -406,7 +406,7 @@
 #ifdef MACOSX
             break;
         default:
-            sprops.graphics_env = "sun.awt.HeadlessGraphicsEnvironment";
+            sprops.graphics_env = "sun.java2d.HeadlessGraphicsEnvironment";
             break;
     }
 #endif