changeset 13711:f4b5ec44caab

8077707: jdk9 b58 cannot run any graphical application on Win 8 with JAWS running Summary: change dialog proc wparam type from UINT to WPARAM, lparam type from LONG to LPARAM Reviewed-by: serb, alexsch, van Contributed-by: peter.brunet@oracle.com
author ptbrunet
date Fri, 24 Jul 2015 13:58:44 -0500
parents 129d5c5426db
children 0fc878b99541
files src/windows/native/sun/bridge/JavaAccessBridge.cpp src/windows/native/sun/bridge/JavaAccessBridge.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/native/sun/bridge/JavaAccessBridge.cpp	Wed Jun 12 13:50:37 2019 -0700
+++ b/src/windows/native/sun/bridge/JavaAccessBridge.cpp	Fri Jul 24 13:58:44 2015 -0500
@@ -116,7 +116,7 @@
      * Our window proc
      *
      */
-    BOOL APIENTRY AccessBridgeDialogProc (HWND hDlg, UINT message, UINT wParam, LONG lParam) {
+    BOOL APIENTRY AccessBridgeDialogProc (HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam) {
         int command;
         COPYDATASTRUCT *sentToUs;
         char *package;
@@ -153,7 +153,7 @@
             } else {
                 //DEBUG_CODE(sprintf(buffer, "Got AB_MESSAGE_WAITING from HWND %p", wParam));
                 //DEBUG_CODE(SetDlgItemText(theDialogWindow, cStatusText, buffer));
-                LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, lParam);
+                LRESULT returnVal = theJavaAccessBridge->receiveMemoryPackage((HWND) wParam, (long) lParam);
             }
             break;
 
--- a/src/windows/native/sun/bridge/JavaAccessBridge.h	Wed Jun 12 13:50:37 2019 -0700
+++ b/src/windows/native/sun/bridge/JavaAccessBridge.h	Fri Jul 24 13:58:44 2015 -0500
@@ -44,7 +44,7 @@
                             LPVOID lpvReserved);
         void AppendToCallOutput(char *s);
         BOOL APIENTRY AccessBridgeDialogProc(HWND hDlg, UINT message,
-                                             UINT wParam, LONG lParam);
+                                             WPARAM wParam, LPARAM lParam);
 }
 
 /**