--- old/src/windows/native/sun/font/fontpath.c 2009-08-07 10:52:17.000000000 +0200 +++ new/src/windows/native/sun/font/fontpath.c 2009-08-07 10:52:17.000000000 +0200 @@ -28,12 +28,12 @@ #include #include -#include +#include #define BSIZE (max(512, MAX_PATH+1)) -JNIEXPORT jstring JNICALL Java_sun_font_FontManager_getFontPath(JNIEnv *env, jclass obj, jboolean noType1) +JNIEXPORT jstring JNICALL Java_sun_awt_Win32FontManager_getFontPath(JNIEnv *env, jobject thiz, jboolean noType1) { char windir[BSIZE]; char sysdir[BSIZE]; @@ -68,15 +68,6 @@ return JNU_NewStringPlatform(env, fontpath); } -/* This isn't used on windows, the implementation is added in case shared - * code accidentally calls this method to prevent an UnsatisfiedLinkError - */ -JNIEXPORT void JNICALL Java_sun_font_FontManager_setNativeFontPath -(JNIEnv *env, jclass obj, jstring theString) -{ - return; -} - /* The code below is used to obtain information from the windows font APIS * and registry on which fonts are available and what font files hold those * fonts. The results are used to speed font lookup. @@ -546,7 +537,7 @@ * use it for lookups to reduce or avoid the need to search font files. */ JNIEXPORT void JNICALL -Java_sun_font_FontManager_populateFontFileNameMap +Java_sun_awt_Win32FontManager_populateFontFileNameMap0 (JNIEnv *env, jclass obj, jobject fontToFileMap, jobject fontToFamilyMap, jobject familyToFontListMap, jobject locale) {