Skip to content

Commit 89999f7

Browse files
author
Dmitry Batrak
committed
8275131: Exceptions after a touchpad gesture on macOS
Reviewed-by: dmarkov, prr
1 parent 07b1f1c commit 89999f7

File tree

1 file changed

+1
-1
lines changed
  • src/java.desktop/macosx/native/libawt_lwawt/awt

1 file changed

+1
-1
lines changed

src/java.desktop/macosx/native/libawt_lwawt/awt/AWTWindow.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ - (void)postGesture:(NSEvent *)event as:(jint)type a:(jdouble)a b:(jdouble)b {
128128

129129
// send up to the GestureHandler to recursively dispatch on the AWT event thread
130130
DECLARE_CLASS(jc_GestureHandler, "com/apple/eawt/event/GestureHandler");
131-
DECLARE_METHOD(sjm_handleGestureFromNative, jc_GestureHandler,
131+
DECLARE_STATIC_METHOD(sjm_handleGestureFromNative, jc_GestureHandler,
132132
"handleGestureFromNative", "(Ljava/awt/Window;IDDDD)V");
133133
(*env)->CallStaticVoidMethod(env, jc_GestureHandler, sjm_handleGestureFromNative,
134134
awtWindow, type, (jdouble)loc.x, (jdouble)loc.y, (jdouble)a, (jdouble)b);

0 commit comments

Comments
 (0)