changeset 12818:886414b7d5af

7144064: [macosx] "Could not find class" error in JTree's ctor when called in headless mode Reviewed-by: art, leonidr
author kizune
date Thu, 24 May 2012 15:11:24 +0400
parents 5b0f3d1b8cfe
children 26ca9ac71349
files jdk/src/solaris/native/java/lang/java_props_md.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/solaris/native/java/lang/java_props_md.c	Wed May 23 12:37:31 2012 +0800
+++ b/jdk/src/solaris/native/java/lang/java_props_md.c	Thu May 24 15:11:24 2012 +0400
@@ -406,7 +406,7 @@
 #ifdef MACOSX
             break;
         default:
-            sprops.graphics_env = "sun.awt.HeadlessGraphicsEnvironment";
+            sprops.graphics_env = "sun.java2d.HeadlessGraphicsEnvironment";
             break;
     }
 #endif