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

java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdateFocusabilityTest.java fails

XMLWordPrintable

      The java/awt/Focus/WindowUpdateFocusabilityTest/WindowUpdateFocusabilityTest.java test fails in 17u and 11u on Linux:

      ----------System.out:(3/212)----------
      java.awt.event.FocusEvent[FOCUS_GAINED,permanent,opposite=null,cause=ACTIVATION] on button0
      Clicking java.awt.Button[button1,0,0,100x100,label=button1]
      Clicking java.awt.Button[button0,0,0,100x100,label=button2]
      ----------System.err:(15/1038)----------
      java.lang.RuntimeException: Test failed: window2 is not focusable!
              at WindowUpdateFocusabilityTest.test(WindowUpdateFocusabilityTest.java:128)
              at WindowUpdateFocusabilityTest.start(WindowUpdateFocusabilityTest.java:66)
              at WindowUpdateFocusabilityTest.main(WindowUpdateFocusabilityTest.java:54)
              at ...

      I was able to reproduce the failure in CI.

      The test is problem-listed in 17u and 11u referencing JDK-8202926 which is now closed but without a fix, the changeset just removes the test from ProblemList.txt.

        There are no Sub-Tasks for this issue.

            aivanov Alexey Ivanov
            aivanov Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: