On Tue, 28 Sep 2021 09:12:37 GMT, Artem Semenov
<[email protected]> 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