RFR: 8306638: Open source some AWT tests related to datatransfer and Toolkit

Sergey Bylokhov serb at openjdk.org
Wed Apr 26 03:11:01 UTC 2023


On Tue, 25 Apr 2023 16:46:06 GMT, Phil Race <prr at openjdk.org> wrote:

>> test/jdk/java/awt/Toolkit/ToolkitListenerTest/ToolkitListenerTest.java line 100:
>> 
>>> 98: 
>>> 99:     public void eventDispatched(AWTEvent e) {
>>> 100:         System.err.println(e);
>> 
>> On what thread this will be executed?
>
> Surely it will be the EDT ? Why do you ask ?

it sets a couple of flags that will be used on the main thread, see "start()" above

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13642#discussion_r1177282988



More information about the client-libs-dev mailing list