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

[TEST] Unit tests for JFXPanel with security manager don't detect errors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u20
    • javafx

        The JFXPanel-based unit tests created to address JDK-8097417 don't detect and report exceptions that occur during the creation of the JavaFX scene. If you run the test case you can visually see that it doesn't render correctly, but the test passes anyway.

        See JDK-8139317 for an example of a bug that occurs on the Mac but went undetected due to this test bug.

        We need to fix the test bug so that this and any possible future errors are detected.

        I will push a separate fix for the test itself to address this bug. Until JDK-8139317 is fixed, the JFXPanel test needs to be skipped on Mac.

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

                Created:
                Updated:
                Resolved: