Skip to content
Permalink
Browse files
8275131: Exceptions after a touchpad gesture on macOS
Reviewed-by: dmarkov, prr
  • Loading branch information
Dmitry Batrak committed Oct 12, 2021
1 parent 07b1f1c commit 89999f70e06b41704c7c5b0f9a19582f90806a10
Showing 1 changed file with 1 addition and 1 deletion.
@@ -128,7 +128,7 @@ - (void)postGesture:(NSEvent *)event as:(jint)type a:(jdouble)a b:(jdouble)b {

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

3 comments on commit 89999f7

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 89999f7 Oct 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmtd
Copy link

@jmtd jmtd commented on 89999f7 Oct 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk11u-dev

@openjdk
Copy link

@openjdk openjdk bot commented on 89999f7 Oct 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmtd @jmtd the backport was successfully created on the branch jmtd-backport-89999f70 in my personal fork of openjdk/jdk11u-dev. To create a pull request with this backport targeting openjdk/jdk11u-dev:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

this pull request contains a backport of commit 89999f70 from the openjdk/jdk repository.

The commit being backported was authored by Dmitry Batrak on 12 Oct 2021 and was reviewed by Dmitry Markov and Phil Race.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk11u-dev:

$ git fetch https://github.com/openjdk-bots/jdk11u-dev jmtd-backport-89999f70:jmtd-backport-89999f70
$ git checkout jmtd-backport-89999f70
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk11u-dev jmtd-backport-89999f70

Please sign in to comment.