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

Create regression tests that run JavaFX apps with a security manager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:

      Description

      There are several areas in JavaFX that are prone to regressions when running with a security manager. Specifically, startup (both standard FX apps and Swing interop apps), WebView, CSS, and FXML.

      See RT-36141 and RT-36189 for two examples that were introduced several months before code freeze for FX 8, but only recently discovered. This reveals a serious hole in our testing.

      We need at least two regression tests to cover this: a standard FX app and a Swing app using JFXPanel. Both tests should load the same content in the FX Scene, using WebView, FXML, and CSS. The tests should run with jfxrt.jar loaded by the extension classloader, by specifying "-Djava.ext.dirs" as a JVM arg.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kcr Kevin Rushforth
              Reporter:
              kcr Kevin Rushforth
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: