On Sat, 20 Mar 2021 02:13:46 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Alexander Zuev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Fixing accessibilityIndexOfChild in the same way
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m 
> line 1459:
> 
>> 1457: {
>> 1458:     JNIEnv *env = [ThreadUtilities getJNIEnv];
>> 1459:     GET_CACCESSIBILITY_CLASS_RETURN(nil);
> 
> Is it caused by the JDK-8257853? Should we update the 
> accessibilityIndexOfChild as well?

It made it visible however it is just a good practice not to assume that class 
reference is already initialized before using it. So, yes, while i was not 
seeing any failures in accessibilityIndexOfChild  i might fix it as well.

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

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

Reply via email to