RFR: 8274381 missing CAccessibility definitions in JNI code [v2]

Anton Tarasov ant at openjdk.java.net
Tue Sep 28 09:57:02 UTC 2021


On Tue, 28 Sep 2021 09:12:37 GMT, Artem Semenov <github.com+36081106+savoptik at openjdk.org> wrote:

>> accessibilityHitTest in JavaComponentAccessibility and getAxComponentSize in JavaAccessibilityUtilities use but do not define sjc_CAccessibility. It works when sjc_CAccessibility is defined by other methods, otherwise it crashes.
>
> Artem Semenov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8274381 missing CAccessibility definitions in JNI code

Marked as reviewed by ant (Reviewer).

src/java.desktop/macosx/native/libawt_lwawt/awt/JavaAccessibilityUtilities.m line 54:

> 52: NSSize getAxComponentSize(JNIEnv *env, jobject axComponent, jobject component)
> 53: {
> 54:     GET_CACCESSIBILITY_CLASS_RETURN(nil);

Please, use `NSZeroSize` as the return value here.

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

PR: https://git.openjdk.java.net/jdk/pull/5732



More information about the client-libs-dev mailing list