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

java/awt/Window/MultiWindowApp/MultiWindowAppTest.java fails with "RuntimeException: Window was not sent to back."

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK18 CI:

      java/awt/Window/MultiWindowApp/MultiWindowAppTest.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(5/198)----------
      command: main MultiWindowAppTest
      reason: User specified action: run main MultiWindowAppTest
      Mode: othervm
      Additional options from @modules: --add-modules java.desktop
      elapsed time (seconds): 1.523
      ----------configuration:(3/40)----------
      Boot Layer
        add modules: java.desktop

      ----------System.out:(0/0)----------
      ----------System.err:(13/836)----------
      java.lang.RuntimeException: Window was not sent to back.
      at MultiWindowAppTest.main(MultiWindowAppTest.java:80)
      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$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Window was not sent to back.
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Window was not sent to back.
      ----------rerun:(43/5367)*----------


      This failure mode is the same as the following:

      JDK-8159904 [TEST_BUG] Failure on solaris of java/awt/Window/MultiWindowApp/MultiWindowAppTest.java

      The fix for JDK-8159904 was integrated into jdk-18+8
      on 2021.07.21 so the failing build-ID has that fix.

            azvegint Alexander Zvegintsev
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: