RFR: 8283624: Create an automated regression test for RFE-4390885 [v3]
Manukumar V S
mvs at openjdk.java.net
Wed Apr 27 10:17:18 UTC 2022
On Wed, 27 Apr 2022 07:38:42 GMT, Sergey Bylokhov <serb at 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
More information about the client-libs-dev
mailing list