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

Test java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java fails

XMLWordPrintable

    • b26
    • generic
    • windows

      Test name(s):java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFAppModal2Test.java
      JDK tested: 9b28,9b29 ,9b27,9b26
      OS tested:Windows
      Is it a regression? No
      Regression introduced in release/build: No
                        
      Is it platform specific? Yes
               
      The is failure reproduced:Windows

      ----------System.err:(19/1259)----------
      java.lang.RuntimeException: frame Close button did not gain focus: expected true, was false
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertTrue(Asserts.java:486)
      at TestFrame.checkCloseButtonFocusGained(TestFrame.java:367)
      at TestFrame.checkCloseButtonFocusGained(TestFrame.java:355)
      at FocusTransferWDFTest.ModalTest(FocusTransferWDFTest.java:161)
      at FocusTransferWDFTest.doTest(FocusTransferWDFTest.java:188)
      at FocusTransferWDFAppModal2Test.main(FocusTransferWDFAppModal2Test.java:50)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:745)

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

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: frame Close button did not gain focus: expected true, was false

            kizune Alexander Zuev
            pchopra Pooja Chopra (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: