[jdk17u-dev] RFR: JDK-8283347: [macos] Bad JNI lookup accessibilityHitTest is shown when Screen magnifier is enabled
Martin Doerr
mdoerr at openjdk.java.net
Wed Apr 6 13:08:44 UTC 2022
On Wed, 6 Apr 2022 12:13:10 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> Hi, we get unwanted exceptions on macOS in jdk17 when Screen magnifier is enabled.
> Looks like this was caused by a wrong placing of GET_CACCESSIBILITY_CLASS_RETURN in
> (id)accessibilityHitTest:(NSPoint)point .
>
> It was placed after the DECLARE_CLASS_RETURN and DECLARE_STATIC_METHOD_RETURN clauses. That is incorrect. So after i moved it up before the DECLARE_CLASS_RETURN clause the bug stops reproducing.
> Thanks to Alexander Zuev for the analysis.
>
> Best regards, Matthias
LGTM. Thanks for fixing!
-------------
Marked as reviewed by mdoerr (Reviewer).
PR: https://git.openjdk.java.net/jdk17u-dev/pull/338
More information about the jdk-updates-dev
mailing list