--- old/src/share/classes/sun/font/FontManagerNativeLibrary.java Wed Aug 5 18:14:56 2009 +++ new/src/share/classes/sun/font/FontManagerNativeLibrary.java Wed Aug 5 18:14:55 2009 @@ -34,7 +34,7 @@ public Object run() { /* REMIND do we really have to load awt here? */ System.loadLibrary("awt"); - if (SunGraphicsEnvironment.isOpenJDK() && + if (FontUtilities.isOpenJDK && System.getProperty("os.name").startsWith("Windows")) { /* Ideally fontmanager library should not depend on particular implementation of the font scaler.