On Thu, 16 Mar 2023 17:24:13 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Review comment update
>
> test/jdk/javax/accessibility/JEditorPane/TestEditorPaneAccessibleChildCount.java
>  line 109:
> 
>> 107:             });
>> 108:             addDelay(500);
>> 109:             int childCount2 = ac.getAccessibleChildrenCount();
> 
> note: "ac" initialized on EDT, and accessed here w/o synchronization.

@mrserb Accessing the `accessibleContext (ac)` on EDT now. Moved the local 
variables (`childCount1 and childCount2`) to class variable and assigned the 
values on EDT.

Please review the changes.

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

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

Reply via email to