--- old/src/share/classes/sun/font/FontManagerNativeLibrary.java 2009-08-07 10:51:45.000000000 +0200 +++ new/src/share/classes/sun/font/FontManagerNativeLibrary.java 2009-08-07 10:51:45.000000000 +0200 @@ -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.