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

[macos] java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java failed with "RuntimeException: Clicking the frame Close button did not trigger an action. : expected false to equal true"

    XMLWordPrintable

Details

    • aarch64
    • os_x

    Description

      The following test failed in the JDK19 CI:

      java/awt/Modal/ModalFocusTransferTests/FocusTransferWDFDocModal1Test.java

      Here's a snippet from the log file:

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

      ----------System.out:(0/0)----------
      ----------System.err:(18/1241)----------
      java.lang.RuntimeException: Clicking the frame Close button did not trigger an action. : expected false to equal true
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
      at TestFrame.clickCloseButton(TestFrame.java:236)
      at TestFrame.clickCloseButton(TestFrame.java:223)
      at FocusTransferWDFTest.ModalTest(FocusTransferWDFTest.java:165)
      at FocusTransferWDFTest.doTest(FocusTransferWDFTest.java:200)
      at FocusTransferWDFDocModal1Test.main(FocusTransferWDFDocModal1Test.java:51)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:577)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Clicking the frame Close button did not trigger an action. : expected false to equal true
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Clicking the frame Close button did not trigger an action. : expected false to equal true
      ----------rerun:(42/8443)*----------

      The screen1.png file shows a test window open.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: