On Tue, 2 May 2023 22:09:18 GMT, Alisen Chung <[email protected]> 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