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

SubMenuShowTest and SwallowKeyEvents tests stabilization

XMLWordPrintable

    • b16

        The following two tests may fail intermittently on Wayland:
        java/awt/KeyboardFocusmanager/TypeAhead/SubMenuShowTest/SubMenuShowTest.java

        java.lang.RuntimeException: Test failed: Exception thrown:TestFailedException: Test failed: A submenu wasn't activated by mnemonic key press
        at SubMenuShowTest.main(SubMenuShowTest.java:70)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed: Exception thrown:TestFailedException: Test failed: A submenu wasn't activated by mnemonic key press
        JavaTest Message: shutting down test


        java/awt/event/KeyEvent/SwallowKeyEvents/SwallowKeyEvents.java
        ...
        java.awt.event.KeyEvent[KEY_PRESSED,keyCode=77,keyText=M,keyChar='M',modifiers=Alt+Shift,extModifiers=Alt+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=58,primaryLevelUnicode=109,scancode=0,extendedKeyCode=0x4d] on textfield0
        key_pressed count: 9
        java.awt.event.KeyEvent[KEY_PRESSED,keyCode=77,keyText=M,keyChar='M',modifiers=Alt+Shift,extModifiers=Alt+Shift,keyLocation=KEY_LOCATION_STANDARD,rawCode=58,primaryLevelUnicode=109,scancode=0,extendedKeyCode=0x4d] on textfield0

        java.lang.RuntimeException: Test failed!
        at SwallowKeyEvents.main(SwallowKeyEvents.java:95)
        at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
        at java.base/java.lang.reflect.Method.invoke(Method.java:580)
        at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
        at java.base/java.lang.Thread.run(Thread.java:1575)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed!
        JavaTest Message: shutting down test

              azvegint Alexander Zvegintsev
              azvegint Alexander Zvegintsev
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: