On Tue, 13 Dec 2022 15:59:53 GMT, Artem Semenov <aseme...@openjdk.org> wrote:

> [ComboBoxAccessibility accessibilityValue] works with the accessibleSelection 
> object directly, however the work should go through CAccessibility so that it 
> is executed on the Event Dispatch thread.

src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java line 821:

> 819: 
> 820: 
> 821:     private static Accessible getAccessibleComboboxValue(Accessible a, 
> Component c) {

A comment or javadoc should mention that this is called from native code, 
specifically pointing to `ComboBoxAccessibility.m`.

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

PR: https://git.openjdk.org/jdk/pull/11653

Reply via email to