RFR: 8298645 JNI works with accessibleSelection on a wrong thread
SWinxy
duke at openjdk.org
Tue Dec 13 19:29:07 UTC 2022
On Tue, 13 Dec 2022 15:59:53 GMT, Artem Semenov <asemenov at 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
More information about the client-libs-dev
mailing list