RFR: 8271846 a11y API lacks setSelectedIndex method [v4]

Artem Semenov asemenov at openjdk.org
Fri Nov 11 09:14:32 UTC 2022


On Fri, 11 Nov 2022 02:16:15 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Artem Semenov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   We are not using author tags in tests either - but that's just a nitpick.
>
> src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java line 574:
> 
>> 572:                     return;
>> 573:                 }
>> 574:                 as.addAccessibleSelection(i);
> 
> I would like to clarify one initial question. Why we cannot use `clearAccessibleSelection `to clean the current selection and then add a new one by the `addAccessibleSelection`?

We tried to do this, it leads to an endless repetition of the selected line until it freezes.

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

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



More information about the client-libs-dev mailing list