jdk/src/java.desktop/windows/native/libawt/windows/awt_Font.cpp
changeset 30469 bac0a7ff7e1e
parent 26751 70bac69b37c9
child 34394 259d6e4e0978
equal deleted inserted replaced
30468:a016d2637922 30469:bac0a7ff7e1e
   983 extern "C" {
   983 extern "C" {
   984 
   984 
   985 JNIEXPORT void JNICALL
   985 JNIEXPORT void JNICALL
   986 Java_java_awt_Font_initIDs(JNIEnv *env, jclass cls)
   986 Java_java_awt_Font_initIDs(JNIEnv *env, jclass cls)
   987 {
   987 {
   988     CHECK_NULL(AwtFont::peerMID = env->GetMethodID(cls, "getPeer",
   988     CHECK_NULL(AwtFont::peerMID = env->GetMethodID(cls, "getFontPeer",
   989          "()Ljava/awt/peer/FontPeer;"));
   989          "()Ljava/awt/peer/FontPeer;"));
   990     CHECK_NULL(AwtFont::pDataID = env->GetFieldID(cls, "pData", "J"));
   990     CHECK_NULL(AwtFont::pDataID = env->GetFieldID(cls, "pData", "J"));
   991     CHECK_NULL(AwtFont::nameID =
   991     CHECK_NULL(AwtFont::nameID =
   992          env->GetFieldID(cls, "name", "Ljava/lang/String;"));
   992          env->GetFieldID(cls, "name", "Ljava/lang/String;"));
   993     CHECK_NULL(AwtFont::sizeID = env->GetFieldID(cls, "size", "I"));
   993     CHECK_NULL(AwtFont::sizeID = env->GetFieldID(cls, "size", "I"));