RFR: JDK-8307128: Open source some drag and drop tests 4

Sergey Bylokhov serb at openjdk.org
Mon May 8 18:38:32 UTC 2023


On Tue, 2 May 2023 22:09:18 GMT, Alisen Chung <achung at openjdk.org> wrote:

> added DnD tests

test/jdk/java/awt/dnd/MouseExitGestureTriggerTest.java line 107:

> 105:         Thread.sleep(RECOGNITION_TIMEOUT);
> 106: 
> 107:         if (recognized) {

This field is set on EDT, and used here on main w/o synchronization.

test/jdk/java/awt/dnd/MozillaDnDTest.java line 177:

> 175:     public void start() {
> 176:         // Solaris/Linux-only test
> 177:         if (System.getProperty("os.name").startsWith("Windows")) {

Can we use OSInfo here?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13765#discussion_r1187757373
PR Review Comment: https://git.openjdk.org/jdk/pull/13765#discussion_r1187758000



More information about the client-libs-dev mailing list