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

Test java/awt/dnd/DropTargetingTest.java failed on Windows: Failed to recognize drop on a glass pane

XMLWordPrintable

      The java/awt/dnd/DropTargetingTest.java test failed on Windows. Then it timed out, and handling the timeout took 2 hours.

      ----------System.out:(1/37)----------
      Timeout signalled after 240 seconds
      ----------System.err:(14/939)----------
      java.lang.RuntimeException: Failed to recognize drop on a glass pane
              at DropTargetingTest.start(DropTargetingTest.java:168)
              at DropTargetingTest.main(DropTargetingTest.java:107)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
              at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.base/java.lang.reflect.Method.invoke(Method.java:568)
              at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
              at java.base/java.lang.Thread.run(Thread.java:842)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Failed to recognize drop on a glass pane

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


      So, there are two problems: the test failed, then it get stuck and couldn't shut down cleanly. The timeout issue is widespread on Windows with drag'n'drop tests.

            abaya Anass Baya
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: