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

java/awt/Focus/ComponentLostFocusTest.java fails intermittently

XMLWordPrintable

    • b15

        Issue:
        java/awt/Focus/ComponentLostFocusTest.java fails intermittently(2/40) with an exception " Execution failed: `main' threw exception: java.lang.RuntimeException: TextField got no focus! Test failed."
        I have seen it failing in all platforms, but predominantly in macos platform.
        It fails sometimes in CI also.

        Fix:
        Added a countdownlatch for tracking focusGained
        Added screenshot logic

        Testing:
        Tested in all mach5 platforms and got all PASS.

              mvs Manukumar V S
              mvs Manukumar V S
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: