7043679: Wrong class name is used in Java_sun_awt_windows_WPrinterJob_initIDs
authorserb
Fri, 15 Jul 2011 19:18:38 +0400
changeset 10094 f211e6ca5dff
parent 10093 1e497500c05f
child 10095 daec42746ec0
7043679: Wrong class name is used in Java_sun_awt_windows_WPrinterJob_initIDs Reviewed-by: dav, art
jdk/src/windows/native/sun/windows/awt_PrintJob.cpp
--- a/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp	Fri Jul 15 14:43:22 2011 +0400
+++ b/jdk/src/windows/native/sun/windows/awt_PrintJob.cpp	Fri Jul 15 19:18:38 2011 +0400
@@ -4137,7 +4137,7 @@
 
     AwtPrintDialog::controlID =
       env->GetFieldID(cls, "pjob", "Ljava/awt/print/PrinterJob;");
-    jclass printDialogPeerClass = env->FindClass("Lsun/awt/windows/WPrintDialogPeer;");
+    jclass printDialogPeerClass = env->FindClass("sun/awt/windows/WPrintDialogPeer");
     AwtPrintDialog::setHWndMID =
       env->GetMethodID(printDialogPeerClass, "setHWnd", "(J)V");