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

Fix SandBoxAppTest unit test to work with XPatch

XMLWordPrintable

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

      In JDK 9 jar files in lib/ext are no longer granted all permissions by default. We deliver a policy file into the JDK 9 build such that JRE/lib/ext/jfxrt.jar is granted all permissions. This allows sandboxed apps that are run with a standard JDK 9 to continue to work.

      When we run our JavaFX build, we run it with a JDK that has the jfxrt.jar removed so we can test the jfxrt.jar that we just built. In our sandbox.SandboxAppTest unit test, we set a security manager and also set -Djava.ext.dirs to our local JavaFX build. Once we switch to using JDK 9 to build and test FX 9, this will start failing.

            ddhill David Hill (Inactive)
            kcr Kevin Rushforth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: