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

Many ModalFocusTransfer tests fail on Linux

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 9, 10, 11, 12, 14
    • Fix Version/s: tbd
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • OS:
      linux, os_x

      Description

      This entire batch of tests fails on JDK 11 and Ubuntu 16.04
      java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFDocModalTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a document modal dialog (D) having null frame owner is shown; a window having D as owner is shown; a frame is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFModelessTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a modeless dialog (D) having null frame owner is shown; a window having D as owner is shown; a frame is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferDWFNonModalTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a non-modal dialog (D) having null frame owner is shown; a window having D as owner is shown; a frame is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsModelessTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a modeless dialog (D1) having a null frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog with a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferDialogsNonModalTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a non-modal dialog (D1) having a null frame owner is shown; a dialog (D2) having D1 owner is shown; a dialog with a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWDocModalTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame is shown; a document modal dialog (D) having a null frame owner is shown; a window having D as owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWModelessTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame is shown; a modeless dialog (D) having a null frame owner is shown; a window having D as owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFDWNonModalTest.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame is shown; a non-modal dialog (D) having a null frame owner is shown; a window having D as owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal1Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; an application modal dialog having a hidden dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; an application modal dialog having a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal3Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; an application modal dialog having a null dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDAppModal4Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; an application modal dialog having a null frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal1Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a document modal dialog having a hidden dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a document modal dialog having a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal3Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a document modal dialog having a null dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDDocModal4Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a document modal dialog having a null frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless1Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a modeless dialog having a hidden dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a modeless dialog having a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless3Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a modeless dialog having a null dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDModeless4Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a modeless dialog having a null frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal1Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having a hidden dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having a hidden frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal3Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having a null dialog owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferFWDNonModal4Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a frame (F) is shown; a window having F as owner is shown; a non-modal dialog having a null frame owner is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a window having a hidden frame owner is shown; a document modal dialog having a null dialog owner is shown; a frame is shown.
      java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFNonModal2Test.java: Check whether the focus transfer between windows occurs correctly when the following happens: a window having a hidden frame owner is shown; a non-modal dialog having a null dialog owner is shown; a frame is shown.

      ----------System.out:(0/0)----------
      ----------System.err:(18/1258)----------
      java.lang.RuntimeException: window Open button did not gain focus: expected true, was false
      at jdk.testlibrary.Asserts.fail(Asserts.java:540)
      at jdk.testlibrary.Asserts.assertTrue(Asserts.java:490)
      at TestWindow.checkOpenButtonFocusGained(TestWindow.java:352)
      at TestWindow.checkOpenButtonFocusGained(TestWindow.java:340)
      at FocusTransferDWFTest.doTest(FocusTransferDWFTest.java:161)
      at FocusTransferDWFDocModalTest.main(FocusTransferDWFDocModalTest.java:48)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: window Open button did not gain focus: expected true, was false
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: window Open button did not gain focus: expected true, was false
      ----------rerun:(23/2050)*----------

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              prr Philip Race
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: