RFR: 8316388: Opensource five Swing component related regression tests [v3]
Alexey Ivanov
aivanov at openjdk.org
Thu Mar 14 09:30:41 UTC 2024
On Wed, 13 Mar 2024 19:57:08 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> test/jdk/javax/swing/JEditorPane/bug4325606.java line 84:
>>
>>> 82: robo.setAutoDelay(100);
>>> 83: robo.delay(1000);
>>> 84: Point p = frame.getLocationOnScreen();
>>
>> Technically, `getLocationOnScreen` should be called on EDT.
>
> It happens in the windowOpened method of the WindowAdapter. If window events arrive not on EDT then we have a whole other slew of problems :)
🤦♂️ That's right!
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18259#discussion_r1524524570
More information about the client-libs-dev
mailing list