[jdk17u-dev] Integrated: JDK-8283347: [macos] Bad JNI lookup accessibilityHitTest is shown when Screen magnifier is enabled

Matthias Baesken mbaesken at openjdk.java.net
Thu Apr 7 07:22:00 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

This pull request has now been integrated.

Changeset: e78f47e5
Author:    Matthias Baesken <mbaesken at openjdk.org>
URL:       https://git.openjdk.java.net/jdk17u-dev/commit/e78f47e595fe9025f38a326d7a5085eca69979d3
Stats:     2 lines in 1 file changed: 1 ins; 1 del; 0 mod

8283347: [macos] Bad JNI lookup accessibilityHitTest is shown when Screen magnifier is enabled

Reviewed-by: mdoerr

-------------

PR: https://git.openjdk.java.net/jdk17u-dev/pull/338


More information about the jdk-updates-dev mailing list