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

java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java failed with "RuntimeException: Test failed: 20 failure(s)"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: client-libs
    • Subcomponent:
    • Resolved In Build:
      b06
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK17 CI:

      java/awt/Window/MainKeyWindowTest/TestMainKeyWindow.java

      Here's a snippet from the log file:

      ----------System.err:(34/2719)----------
      ***** Menu shortcut test failed for Frame 2. Expected: Frame 2 Key, Actual: No Action
      ***** Menu item test failed for Frame 2. Expected: Frame 2, Actual: No Action
      ***** Menu shortcut test failed for Frame 2. Expected: Frame 2 Key, Actual: Frame 1
      ***** Menu item test failed for Frame 2. Expected: Frame 2, Actual: Frame 1
      ***** Menu shortcut test failed for Frame 2 with color panel. Expected: Frame 2, Actual: No Action
      ***** Menu item test failed for Frame 2 with color panel. Expected: Frame 2, Actual: No Action
      ***** Menu shortcut test failed for Frame 2 with color panel. Expected: Frame 2, Actual: Frame 1
      ***** Menu item test failed for Frame 2 with color panel. Expected: Frame 2, Actual: Frame 1
      ***** Menu shortcut test failed for Native Window. Expected: Application, Actual: No Action
      ***** Menu item test failed for Native Window. Expected: Application, Actual: No Action
      ***** Menu shortcut test failed for Native Window. Expected: Application, Actual: Frame 1
      ***** Menu item test failed for Native Window. Expected: Application, Actual: Frame 1
      ***** Menu shortcut test failed for Native Window with color panel. Expected: Application, Actual: No Action
      ***** Menu item test failed for Native Window with color panel. Expected: Application, Actual: No Action
      ***** Menu shortcut test failed for Native Window with color panel. Expected: Application, Actual: Frame 1
      ***** Menu item test failed for Native Window with color panel. Expected: Application, Actual: Frame 1
      ***** Menu shortcut test failed for Color Panel. Expected: Application, Actual: Frame 1
      ***** Menu item test failed for Color Panel. Expected: Application, Actual: Frame 1
      ***** Menu shortcut test failed for Color Panel. Expected: Application, Actual: Frame 1
      ***** Menu item test failed for Color Panel. Expected: Application, Actual: Frame 1
      java.lang.RuntimeException: Test failed: 20 failure(s)
      at TestMainKeyWindow.runTest(TestMainKeyWindow.java:130)
      at TestMainKeyWindow.main(TestMainKeyWindow.java:403)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: 20 failure(s)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed: 20 failure(s)
      ----------rerun:(42/6119)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: