On Tue, 28 Sep 2021 09:47:02 GMT, Artem Semenov 
<[email protected]> wrote:

> [ComboBoxAccessibility accessibilityValue] defines the getAccessibleSelection 
> method on the AccessibleContext class, however the call should go through 
> CAccessibility so that it is executed on the Event Dispatch thread.

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ComboBoxAccessibility.m 
line 53:

> 51:     if (axContext == NULL) return nil;
> 52:     GET_ACCESSIBLESELECTION_METHOD_RETURN(nil);
> 53:     jobject axSelection = (*env)->CallStaticObjectMethod(env, 
> sjc_CAccessibility, sjm_getAccessibleSelection, axContext, self->fComponent);

Please delete `axSelection` if you forgot.

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

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

Reply via email to