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

java/awt/KeyboardFocusmanager/TypeAhead/MenuItemActivatedTest/MenuItemActivatedTest.java failed with "Test failed: a space went into the dialog's text field!"

XMLWordPrintable

    • x86_64
    • linux

      The following test failed in the JDK17 CI:

      java/awt/KeyboardFocusmanager/TypeAhead/MenuItemActivatedTest/MenuItemActivatedTest.java

      Here's a snippet from the log file:

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

      ----------System.out:(1/838)----------
      java.awt.event.KeyEvent[KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar=' ',keyLocation=KEY_LOCATION_UNKNOWN,rawCode=0,primaryLevelUnicode=32,scancode=0,extendedKeyCode=0x0] on javax.swing.JTextField[,0,0,5x19,layout=javax.swing.plaf.basic.BasicTextUI$UpdateHandler,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@8d928cc,flags=296,maximumSize=,minimumSize=,preferredSize=,caretColor=sun.swing.PrintColorUIResource[r=51,g=51,b=51],disabledTextColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],editable=true,margin=javax.swing.plaf.InsetsUIResource[top=0,left=0,bottom=0,right=0],selectedTextColor=sun.swing.PrintColorUIResource[r=51,g=51,b=51],selectionColor=javax.swing.plaf.ColorUIResource[r=184,g=207,b=229],columns=0,columnWidth=0,command=,horizontalAlignment=LEADING]
      ----------System.err:(14/966)----------
      TestFailedException: Test failed: a space went into the dialog's text field!
      at MenuItemActivatedTest.start(MenuItemActivatedTest.java:108)
      at MenuItemActivatedTest.main(MenuItemActivatedTest.java:53)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: TestFailedException: Test failed: a space went into the dialog's text field!
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: TestFailedException: Test failed: a space went into the dialog's text field!
      ----------rerun:(43/6537)*----------

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

              Created:
              Updated:
              Resolved: