Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8353108

Test dnd/ModalDialogOnDropDeadlockTest.java times out on Windows

XMLWordPrintable

      The test java/awt/dnd/ModalDialogOnDropDeadlockTest.java times out on Windows:

      ----------messages:(9/359)----------
      command: main ModalDialogOnDropDeadlockTest
      reason: User specified action: run main ModalDialogOnDropDeadlockTest
      started: Thu Mar 27 10:54:09 UTC 2025
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      Timeout information:
      --- Timeout information end.
      finished: Thu Mar 27 13:00:03 UTC 2025
      elapsed time (seconds): 7554.093
      ----------configuration:(3/43)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(1/37)----------
      Timeout signalled after 240 seconds
      ----------System.err:(12/726)----------
      java.lang.RuntimeException: DnD not finished
              at ModalDialogOnDropDeadlockTest.start(ModalDialogOnDropDeadlockTest.java:200)
              at ModalDialogOnDropDeadlockTest.main(ModalDialogOnDropDeadlockTest.java:90)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
              at java.base/java.lang.reflect.Method.invoke(Method.java:580)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:1583)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: DnD not finished

      test result: Error. Program `...\jdk-21.0.8\bin\java' timed out (timeout set to 240000ms, elapsed time including timeout handling was 7554078ms).


      Note that handling the timeout that signalled after 2 minutes took more than 2 hours. It's the same symptom as in JDK-8333091: the test completed but it fails to exit JVM. This problem is seen in other bugs too.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: