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

Intermittent unit test failure in SwingNodeJDialogTest

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • javafx

    Backports

      Description

        The SwingNodeJDialogTest unit test, which is associated with JDK-8185634, is failing intermittently due to a pair of bugs in the test.

        1) The testNodeRemovalBeforeShowHoldEDT method leaves a Stage showing after it finishes running. This means that subsequent tests will not be in a clean state.

        2) The testStageCloseAfterShow method currently is written to expect the dialog to not be shown. This is only working by accident, and only if the above test runs before this test (the test order is unspecified which is why the failure is intermittent). Once bug in #1 is fixed, this method should be changed to expect the dialog to be on top, since it will be the only thing showing.

        Attachments

          Issue Links

            Activity

              People

                azvegint Alexander Zvegintsev
                kcr Kevin Rushforth
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: