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.