On Wed, 27 Apr 2022 07:38:42 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>> Manukumar V S has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Removed some duplicate code
>
> test/jdk/javax/swing/JFileChooser/JFileChooserSetLocationTest.java line 103:
> 
>> 101:                         () -> pt.set(panel.getLocationOnScreen()));
>> 102:                 Point panel_loc = pt.get();
>> 103:                 xIn = (panel_loc.x + panel.getSize().width) / 2;
> 
> The getSize should be called on EDT as well.

Changed.

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

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

Reply via email to